mmc: skip select_mode_and_width for MMC SPI host
authorAnup Patel <Anup.Patel@wdc.com>
Mon, 8 Jul 2019 04:10:43 +0000 (04:10 +0000)
committerPeng Fan <peng.fan@nxp.com>
Mon, 15 Jul 2019 02:16:49 +0000 (10:16 +0800)
commitf49ff79935730279cca0e6a288bcc9ad4f4f63dd
treeee0465678f9267a3f34bc00df0f8570cc4bc7549
parent0538477c53237230c36b78cfe5fa26aed81c9d87
mmc: skip select_mode_and_width for MMC SPI host

The MMC mode and width are fixed for MMC SPI host hence we skip
sd_select_mode_and_width() and mmc_select_mode_and_width() for
MMC SPI host.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
drivers/mmc/mmc.c