mirror of https://github.com/torvalds/linux.git
The PM reference count is not expected to be incremented on return in
these Tegra functions.
However, pm_runtime_get_sync() will increment the PM reference count
even on failure. Forgetting to put the reference again will result in
a leak.
Replace it with pm_runtime_resume_and_get() to keep the usage counter
balanced.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| dc.c | ||
| dc.h | ||
| dp.c | ||
| dp.h | ||
| dpaux.c | ||
| dpaux.h | ||
| drm.c | ||
| drm.h | ||
| dsi.c | ||
| dsi.h | ||
| falcon.c | ||
| falcon.h | ||
| fb.c | ||
| gem.c | ||
| gem.h | ||
| gr2d.c | ||
| gr2d.h | ||
| gr3d.c | ||
| gr3d.h | ||
| hda.c | ||
| hda.h | ||
| hdmi.c | ||
| hdmi.h | ||
| hub.c | ||
| hub.h | ||
| mipi-phy.c | ||
| mipi-phy.h | ||
| output.c | ||
| plane.c | ||
| plane.h | ||
| rgb.c | ||
| sor.c | ||
| sor.h | ||
| trace.c | ||
| trace.h | ||
| vic.c | ||
| vic.h | ||