From: Kuninori Morimoto Date: Mon, 9 Nov 2009 02:42:47 +0000 (+0000) Subject: uio: pm_runtime_disable is needed if failed X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=68fb2e499b054bf8359965422fffac70eff56004;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git uio: pm_runtime_disable is needed if failed Signed-off-by: Kuninori Morimoto Signed-off-by: Paul Mundt --- diff --git a/drivers/uio/uio_pdrv_genirq.c b/drivers/uio/uio_pdrv_genirq.c index 02347c57357d..aa53db9f2e88 100644 --- a/drivers/uio/uio_pdrv_genirq.c +++ b/drivers/uio/uio_pdrv_genirq.c @@ -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; }