Haibo Chen 92ddd95919 mmc: mmc: correct the logic for setting HS400ES signal voltage
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")
Cc: <stable@vger.kernel.org>
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>
2017-08-08 18:55:43 +02:00
..
2017-07-04 11:11:56 -07:00
2017-04-24 21:42:19 +02:00
2017-04-24 21:42:19 +02:00
2017-06-20 10:30:45 +02:00
2016-12-05 10:31:08 +01:00
2017-04-24 21:41:24 +02:00
2016-12-12 16:30:05 +01:00