Commit 68fb2e499b054bf8359965422fffac70eff56004

Authored by Kuninori Morimoto
Committed by Paul Mundt
1 parent 156171c71a

uio: pm_runtime_disable is needed if failed

Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/uio/uio_pdrv_genirq.c
... ... @@ -178,6 +178,7 @@
178 178 return 0;
179 179 bad1:
180 180 kfree(priv);
  181 + pm_runtime_disable(&pdev->dev);
181 182 bad0:
182 183 return ret;
183 184 }