ahci: imx: add missing clk_disable_unprepare() on error in imx_sata_enable()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 30 Jul 2014 00:54:07 +0000 (08:54 +0800)
committerTejun Heo <tj@kernel.org>
Wed, 30 Jul 2014 16:04:22 +0000 (12:04 -0400)
commit19f5be0f40922717e2b6e39a9822e7e7f30fd81f
tree6814df902506c85c3e8edcd7a9b5544ddd6cb741
parent0185b1b787962db38fdf74e1cab9b7a2619490a1
ahci: imx: add missing clk_disable_unprepare() on error in imx_sata_enable()

Add the missing clk_disable_unprepare() before return from
imx_sata_enable() in the phy reset error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_imx.c