]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sunxi: Move bus width configuration to a function
authorMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 16 Apr 2018 14:23:01 +0000 (16:23 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 2 May 2018 13:08:41 +0000 (15:08 +0200)
commite47188c0b91ac7286ba6094797d038232ce88a1b
tree6edfed664da73fb63a2cb1ede19e3492bda3ba3e
parentfa36eca1cf1cb5cf7655f1b5b149bd0f2685c374
mmc: sunxi: Move bus width configuration to a function

In order to improve readibility and reusability, let's move the bus width
setup to a small function called by our .set_ios hook.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sunxi-mmc.c