]> git.karo-electronics.de Git - karo-tx-linux.git/commit
OMAPDSS: fix dss_get_ctx_loss_count for DT
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 10 Dec 2012 11:52:55 +0000 (13:52 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 17 Jun 2013 11:00:41 +0000 (14:00 +0300)
commit679852dbee81c81c1165fe08b6cefd28252b463c
tree8e5f4c234d20f0f4cecd602110336802ff4d964b
parent12ca755ba1c8714175f55ac069d8b51d9448778c
OMAPDSS: fix dss_get_ctx_loss_count for DT

When using DT, dss device does not have platform data. However,
dss_get_ctx_loss_count() uses dss device's platform data to find the
get_ctx_loss_count function pointer.

To fix this, dss_get_ctx_loss_count() needs to be changed to get the
platform data from the omapdss device, which is a "virtual" device and
always has platform data.

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