mmc: fsl_esdhc: Gracefully fail on unsupported voltage switch
authorMarek Vasut <marex@denx.de>
Fri, 22 May 2020 16:28:33 +0000 (18:28 +0200)
committerPeng Fan <peng.fan@nxp.com>
Mon, 15 Jun 2020 01:45:22 +0000 (09:45 +0800)
commit50a17a69be076316e4c539b75403acfabf9e4c4c
tree2af05c95a126226f5274689d7d0a8302b527e5a7
parent406df85345f942d9348443983d81a01e013e920b
mmc: fsl_esdhc: Gracefully fail on unsupported voltage switch

Unsupported voltage on voltage switch is not an error, do not
print error message in such a case. This happens e.g. if the
eMMC is already in 1V8 mode or when testing 1V2 mode operation
on systems which only do 3V3/1V8 switching.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/fsl_esdhc_imx.c