memory: ti-aemif: Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 31 May 2017 10:25:54 +0000 (15:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Jun 2017 10:08:14 +0000 (19:08 +0900)
commit761d031ec95b09f4126748a4849b3dabe3c00427
tree7ac437eb73660595978cae2c5f7f75a8a3d5c5e5
parent76b069b1cb201748c3a87474fb8ef02be2a01ba8
memory: ti-aemif: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/memory/ti-aemif.c