]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP: DSS2: DSS: Fix context save/restore
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 1 Jun 2011 12:56:39 +0000 (15:56 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 25 Jul 2011 07:22:07 +0000 (10:22 +0300)
commit99a7d3d8f2d696bd215257729256de7ce0ffccba
treee0ac81c853ca05d9ad822c6dd400a1ef5e5103ec
parentdf115ca996eacbfd583d5983cd27621504f60d7b
OMAP: DSS2: DSS: Fix context save/restore

The current method of saving and restoring the context could cause a
restore before saving, effectively "restoring" zero values to registers.

Add ctx_valid field to indicate if the saved context is valid and can be
restored.

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