mmc: mxcmmc: Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 8 Aug 2017 05:57:43 +0000 (11:27 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:55 +0000 (14:01 +0200)
commita2bc74cfee87bdf0f656ada0e5deed6237f31eaf
tree12516c47dab4bdc566719168837c8340e16774c5
parent78bb1fd7f15066ee300fa5adf3af005f4b7a365c
mmc: mxcmmc: Handle return value of clk_prepare_enable

clk_prepare_enable() can fail here and we must check its return value.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mxcmmc.c