diff options
author | Haibo Chen <haibo.chen@nxp.com> | 2017-08-08 10:54:01 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-16 20:43:17 (GMT) |
commit | 0a205d8145c22d83e24ada019b599a33f7bf68ed (patch) | |
tree | 2d2c700c00e268017b2e36bf328853b004c58241 /ipc/mqueue.c | |
parent | 160c365b5879e6d4ea1c299b68c9702e8c783298 (diff) | |
download | linux-0a205d8145c22d83e24ada019b599a33f7bf68ed.tar.xz |
mmc: mmc: correct the logic for setting HS400ES signal voltage
commit 92ddd95919466de5d34f3cb43635da9a7f9ab814 upstream.
Change the default err value to -EINVAL, make sure the card only
has type EXT_CSD_CARD_TYPE_HS400_1_8V also do the signal voltage
setting when select hs400es mode.
Fixes: commit 1720d3545b77 ("mmc: core: switch to 1V8 or 1V2 for hs400es mode")
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc/mqueue.c')
0 files changed, 0 insertions, 0 deletions