android_kernel_motorola_sm6225/include/linux/mmc
Ulf Hansson 4f32b45c9a mmc: core: Allow host controllers to require R1B for CMD6
[ Upstream commit 1292e3efb149ee21d8d33d725eeed4e6b1ade963 ]

It has turned out that some host controllers can't use R1B for CMD6 and
other commands that have R1B associated with them. Therefore invent a new
host cap, MMC_CAP_NEED_RSP_BUSY to let them specify this.

In __mmc_switch(), let's check the flag and use it to prevent R1B responses
from being converted into R1. Note that, this also means that the host are
on its own, when it comes to manage the busy timeout.

Suggested-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Cc: <stable@vger.kernel.org>
Tested-by: Anders Roxell <anders.roxell@linaro.org>
Tested-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Tested-by: Faiz Abbas <faiz_abbas@ti.com>
Tested-By: Peter Geis <pgwipeout@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-02 15:28:09 +02:00
..
card.h mmc: block: handle complete_work on separate workqueue 2019-02-20 10:25:46 +01:00
core.h
host.h mmc: core: Allow host controllers to require R1B for CMD6 2020-04-02 15:28:09 +02:00
mmc.h
pm.h
sd.h
sdhci-pci-data.h
sdio.h
sdio_func.h mmc: core: Add sdio_retune_hold_now() and sdio_retune_release() 2019-06-25 11:35:53 +08:00
sdio_ids.h mmc: sdio: fix wl1251 vendor id 2020-01-27 14:51:21 +01:00
sh_mmcif.h
slot-gpio.h