mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
uio: pm_runtime_disable is needed if failed
Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
This commit is contained in:
parent
156171c71a
commit
68fb2e499b
1 changed files with 1 additions and 0 deletions
|
|
@ -178,6 +178,7 @@ static int uio_pdrv_genirq_probe(struct platform_device *pdev)
|
|||
return 0;
|
||||
bad1:
|
||||
kfree(priv);
|
||||
pm_runtime_disable(&pdev->dev);
|
||||
bad0:
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue