]> git.karo-electronics.de Git - linux-beck.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)
commit820caabf68e6ebddbb48cf1770338682cfa318c5
treeeb59779ef3e95d7b42642e6182557a67897f1995
parentb7328e14591fb532688db36ef894ac8c34948b4e
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