mmc: core: Implement ->sw_reset bus ops for SDIO
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 5 Apr 2018 14:31:25 +0000 (16:31 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 8 May 2018 07:33:56 +0000 (09:33 +0200)
commit7405df4c79cd7b4204c5b4b5af2b1ad362ea85ad
tree67e7d5c25e11611cc498d85569a3970ac2e9690b
parent508c9864ccede5dd4b8a7220b3fe6998763e4407
mmc: core: Implement ->sw_reset bus ops for SDIO

Let's implement the ->sw_reset() bus ops to allow SDIO func drivers, in
particular, to make a SW reset without doing a full power cycle of the SDIO
card.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Quentin Schulz <quentin.schulz@bootlin.com>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
drivers/mmc/core/sdio.c