Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

HSI: omap_ssi_core: fix unbalanced pm_runtime_disable()

In error label 'out1' path in ssi_probe(), the pm_runtime_enable()
has not been called yet, so pm_runtime_disable() is not needed.

Fixes: b209e047bc74 ("HSI: Introduce OMAP SSI driver")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>

authored by

Yang Yingliang and committed by
Sebastian Reichel
f5181c35 913a1441

+1 -1
+1 -1
drivers/hsi/controllers/omap_ssi_core.c
··· 536 536 device_for_each_child(&pd->dev, NULL, ssi_remove_ports); 537 537 out2: 538 538 ssi_remove_controller(ssi); 539 + pm_runtime_disable(&pd->dev); 539 540 out1: 540 541 platform_set_drvdata(pd, NULL); 541 - pm_runtime_disable(&pd->dev); 542 542 543 543 return err; 544 544 }