]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Clarify code for sending CSD
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 8 Jun 2017 13:27:45 +0000 (15:27 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jun 2017 08:30:47 +0000 (10:30 +0200)
commit73d486349510e6303ec081a37a96fc91e0564b8c
tree896eac7efed2605dfe47a10aaf00c43d9f454344
parent21f367495f6e8ad0a96969be0b9acb339560117c
mmc: core: Clarify code for sending CSD

To make the code more consistent and to increase readability, add an
mmc_spi_send_csd() function, which gets called from mmc_send_csd() in case
of SPI mode.

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>
drivers/mmc/core/mmc_ops.c