]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: core: Break out start_signal_voltage_switch
authorJohan Rudholm <johan.rudholm@stericsson.com>
Mon, 28 Jan 2013 14:08:27 +0000 (15:08 +0100)
committerChris Ball <cjb@laptop.org>
Tue, 12 Feb 2013 15:42:15 +0000 (10:42 -0500)
commitede82484f5cef61381824bd3ee48e970bf6f9466
tree09bdcb03c610055c9c1b69220948619d62934142
parent25322648eb6920e2f84d577c6d96a6bff0a8dfd1
mmc: core: Break out start_signal_voltage_switch

Allow callers to access the start_signal_voltage_switch host_ops
member without going through any cmd11 logic. This is mostly a
preparation for the following signal voltage switch patch.

Also, reset ios.signal_voltage to its original value if
start_signal_voltage_switch fails.

Signed-off-by: Johan Rudholm <johan.rudholm@stericsson.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Wei WANG <wei_wang@realsil.com.cn>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/core.c
drivers/mmc/core/core.h
drivers/mmc/core/mmc.c
drivers/mmc/core/sd.c
drivers/mmc/core/sdio.c