summaryrefslogtreecommitdiff
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2021-05-04 18:12:18 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2021-06-14 13:57:36 +0200
commit41e84fe1647e0d6ec309882bc247667e304c351f (patch)
tree22de0c6b545bb1cca81500a79accade08f273e5a /include/linux/mmc
parentcec18ad93e35a219d2277dbbdbfedb4f83a7a220 (diff)
mmc: core: Drop open coding in mmc_sd_switch()
The SD_SWITCH (CMD6) is an ADTC type of command with an R1 response, which can be sent by using the mmc_send_adtc_data(). Let's do that and drop the open coding in mmc_sd_switch(). Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com> Acked-by: Avri Altman <avri.altman@wdc.com> Link: https://lore.kernel.org/r/20210504161222.101536-8-ulf.hansson@linaro.org
Diffstat (limited to 'include/linux/mmc')
0 files changed, 0 insertions, 0 deletions