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: 4a23d179 ('ahci: imx: Add i.MX53 support') Signed-off-by: NWei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: NTejun Heo <tj@kernel.org> Acked-by: NMarek Vasut <marex@denx.de>
Showing
想要评论请 注册 或 登录