mmc: sdhci-pxav2: add error handling of clk_prepare_enable()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 10 Feb 2017 22:54:46 +0000 (01:54 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:13 +0000 (21:41 +0200)
commit21b22284619bbb201775c125af53f2834eb91674
tree51091b0dcd41590d3c54ce7dbc381807b5b26bac
parentbb11eff1f1820b9f3bf6578af18b3d18094e7f54
mmc: sdhci-pxav2: add error handling of clk_prepare_enable()

There is no check if clk_prepare_enable() succeed in sdhci_pxav2_probe().

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pxav2.c