diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2015-11-26 15:00:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-04 02:07:15 +0300 |
commit | 8ae7192d91c8ca19fd0b919b594bc317d33fbede (patch) | |
tree | cd01bd2cd0f52fc8675daa5beb67647bec1f9edc /certs | |
parent | 14772905465177b47ff0980eea5acf745ce7f625 (diff) | |
download | linux-8ae7192d91c8ca19fd0b919b594bc317d33fbede.tar.xz |
mmc: sdio: Fix invalid vdd in voltage switch power cycle
commit d9bfbb95ed598a09cf336adb0f190ee0ff802f0d upstream.
The 'ocr' parameter passed to mmc_set_signal_voltage()
defines the power-on voltage used when power cycling
after a failure to set the voltage. However, in the
case of mmc_sdio_init_card(), the value passed has the
R4_18V_PRESENT flag set which is not valid for power-on
and results in an invalid vdd. Fix by passing the card's
ocr value which does not have the flag.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions