mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
gpio: omap : Add missing clk_unprepare().
omap_gpio_probe() can fail here and we must disable clock. Signed-off-by: Arvind Yadav <[email protected]> Reviewed-by: Grygorii Strashko <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
d829b37ae3
commit
e2c3c1969d
1 changed files with 2 additions and 0 deletions
|
|
@ -1247,6 +1247,8 @@ static int omap_gpio_probe(struct platform_device *pdev)
|
|||
if (ret) {
|
||||
pm_runtime_put_sync(dev);
|
||||
pm_runtime_disable(dev);
|
||||
if (bank->dbck_flag)
|
||||
clk_unprepare(bank->dbck);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue