summaryrefslogtreecommitdiff
path: root/drivers/misc/kernel_debugger.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-06-01 15:54:06 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-06-22 11:27:22 +0300
commit3d2eacade7207fe38af1487a269b965983c85afa (patch)
tree44ed3064daabdef99eb7ace09677c010d433d72e /drivers/misc/kernel_debugger.c
parent24429768b247026bf96474e7d396abd5b470590a (diff)
OMAP: DSS2: DISPC: 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. Also restructure the code to save the ctx_loss_count in save_context(), which makes more sense than the previous method of storing new ctx_loss_count in dispc_need_ctx_restore. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/misc/kernel_debugger.c')
0 files changed, 0 insertions, 0 deletions