mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-01 17:22:38 +07:00
mfd: Fix wrong goto labels for tc6393xb error handling
This patch corrects the error handling path. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
b6e6d54cab
commit
fa6e4b181c
@ -732,9 +732,9 @@ static int __devinit tc6393xb_probe(struct platform_device *dev)
|
|||||||
if (tc6393xb->gpio.base != -1)
|
if (tc6393xb->gpio.base != -1)
|
||||||
temp = gpiochip_remove(&tc6393xb->gpio);
|
temp = gpiochip_remove(&tc6393xb->gpio);
|
||||||
tcpd->disable(dev);
|
tcpd->disable(dev);
|
||||||
err_clk_enable:
|
|
||||||
clk_disable(tc6393xb->clk);
|
|
||||||
err_enable:
|
err_enable:
|
||||||
|
clk_disable(tc6393xb->clk);
|
||||||
|
err_clk_enable:
|
||||||
iounmap(tc6393xb->scr);
|
iounmap(tc6393xb->scr);
|
||||||
err_ioremap:
|
err_ioremap:
|
||||||
release_resource(&tc6393xb->rscr);
|
release_resource(&tc6393xb->rscr);
|
||||||
|
Loading…
Reference in New Issue
Block a user