summaryrefslogtreecommitdiffstats
path: root/net/netrom
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-07-25 10:22:07 +0300
commit49ea86f3fae21dd0334668b621e9c88f43a73c86 (patch)
treec1940d9d5f9de067c0474448848f54318cbfcefd /net/netrom
parent39020710e707a01d80ea6c9e55dad4de93bb4730 (diff)
downloadblackbird-op-linux-49ea86f3fae21dd0334668b621e9c88f43a73c86.tar.gz
blackbird-op-linux-49ea86f3fae21dd0334668b621e9c88f43a73c86.zip
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 'net/netrom')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud