]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: output: increase refcount in find_output funcs
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 25 Apr 2013 11:53:18 +0000 (14:53 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 17 Jun 2013 11:00:53 +0000 (14:00 +0300)
commite136665765ac4b810cfd58f9ae4b70d0a55f0855
treeeb59779ef3e95d7b42642e6182557a67897f1995
parenta89f671b34116b5aa9960c7055893876b745bd18
OMAPDSS: output: increase refcount in find_output funcs

Now that omap_dss_output has been combined into omap_dss_device, we can
add ref counting for the relevant output functions also.

This patch adds omap_dss_get_device() calls to the various find_output()
style functions. This, of course, means that the users of those
find_output functions need to do a omap_dss_put_device() after use.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_drv.c
drivers/video/omap2/dss/output.c