]> git.karo-electronics.de Git - linux-beck.git/commit
OMAPDSS: add module_get/put to omap_dss_get/put_device()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 3 May 2013 08:40:54 +0000 (11:40 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 17 Jun 2013 11:00:52 +0000 (14:00 +0300)
commitd35317a42ddfff836d509cf128255721db8101c1
tree54e63f2a44cff65fa6427d814c9545ace6d45ad3
parent4f3e44ea07eafb5252e8414ae4f75f749e1729de
OMAPDSS: add module_get/put to omap_dss_get/put_device()

omap_dss_get_device() should be called for omap_dss_device before it is
used to increase its refcount. Currently we only increase the refcount
for the underlying device.

This patch adds managing the ref count to the underlying module also,
which contains the ops for the omap_dss_device.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/display.c
include/video/omapdss.h