diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-12-07 07:00:19 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-12-12 16:59:09 +0100 |
commit | 7d6203af30b45bb1506e20935a270286c3e2393f (patch) | |
tree | e5046d82c226d2b1804242f9bd7defdb258ac6c2 /drivers/ata/ahci.c | |
parent | ahci: imx: ahci_imx_softreset() can be static (diff) | |
download | linux-7d6203af30b45bb1506e20935a270286c3e2393f.tar.xz linux-7d6203af30b45bb1506e20935a270286c3e2393f.zip |
ahci: imx: fix the error handling in imx_ahci_probe()
Release alloced resources instead of direct return from
imx_ahci_probe() in the error handling case.
Fixes: 4a23d1793f8e ('ahci: imx: Add i.MX53 support')
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/ata/ahci.c')
0 files changed, 0 insertions, 0 deletions