]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Share internal function to set initial signal voltage
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 5 Apr 2018 19:24:15 +0000 (21:24 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 8 May 2018 07:33:50 +0000 (09:33 +0200)
commit1693bb7d70720d8b70344b58f8520685f910b9f6
treefbf0c81decabc0fcac4ac627ce2c2d96ec837a58
parentc8b72ed1d395da6dff5db7b5d579c5d278e1f3ca
mmc: core: Share internal function to set initial signal voltage

Move the corresponding code for setting the initial signal voltage, from
mmc_power_up() into a new function, mmc_set_initial_signal_voltage().

Make the function internally available to the mmc core, as to allow the
following changes to make use of it.

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