]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
OMAP: DSS2: Don't allow moving managers away from enabled displays
authorDaniel Morsing <daniel.morsing@gmail.com>
Wed, 3 Aug 2011 20:10:51 +0000 (22:10 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 14 Sep 2011 15:08:23 +0000 (18:08 +0300)
commit0f770b4765846846cc531f6828fb8402f92e2649
tree31ed12aab54ca0a36de501e7ad64f53bac3c69de
parent05e1d6060743e34e3a9db65346168dc688f9223e
OMAP: DSS2: Don't allow moving managers away from enabled displays

If a manager is moved while attached to an enabled display, the DSS
system will be left in an inconsistent state. This will eventually cause
a kernel oops when the enabled display is disabled.

Fix this by not allowing the user to move a manager away from an enabled
display.

Signed-off-by: Daniel Morsing <daniel.morsing@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/manager.c