diff options
| author | Yue Hu <[email protected]> | 2020-06-08 18:30:09 +0800 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2020-07-13 12:18:23 +0200 |
| commit | ec97863cac3e36e877cc326b12568a237865ee69 (patch) | |
| tree | 141a6617873a5fb2488e1c8624c8ea715a24aebb /scripts/stackusage | |
| parent | 42a166d7e05452c9af44d65cc14725a181b0569f (diff) | |
mmc: sdio: Enable SDIO 4-bit bus if not support SD_SCR_BUS_WIDTH_4 for SD combo card
If the card type is SD combo(MMC_TYPE_SD_COMBO) and the memory part does
not support wider bus(SD_SCR_BUS_WIDTH_4), nothing will be done except
return 0. However, we should check whether IO part support wider bus or
not. We should use available IO ability if supported.
In addition, there's a duplicated check to MMC_CAP_4_BIT_DATA since
sdio_enable_wide() will include that check. And we can also save one
call site to sdio_enable_wide() after this change.
Signed-off-by: Yue Hu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions