mmc: wmt-sdmmc: Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 8 Aug 2017 05:46:38 +0000 (11:16 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:55 +0000 (14:01 +0200)
commit78bb1fd7f15066ee300fa5adf3af005f4b7a365c
tree5eb386d90dd0e6e16f26934fbba05e8e50a98fba
parent2a641e5374a486741869875a8b1a35dff6fcd669
mmc: wmt-sdmmc: 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/wmt-sdmmc.c