pcmcia: soc_common: Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 1 Jun 2017 10:47:10 +0000 (16:17 +0530)
committerDominik Brodowski <linux@dominikbrodowski.net>
Wed, 24 Jan 2018 18:24:39 +0000 (19:24 +0100)
commitd3fdd701248290b511683ff8d348073295f07833
treea8fd80284eedd2e39407e8289e0f43fe89761bf4
parent3490a69bdd815ab38230c993b3a6e02937237ac8
pcmcia: soc_common: 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>
CC: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/soc_common.c