diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-04-28 01:36:28 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2009-04-28 01:36:28 +0100 |
commit | 8898aa0a73462db0acf7ac09cc066e1d13ad198b (patch) | |
tree | 3b9ab5e18f9281642ebe2356c8d9df2d4dc1e5ad /drivers/mfd/glamo | |
parent | ec176c440009401b04a5cc9b5f966fb7cbe23fb0 (diff) |
Implement command queue reset
This implements resetting of the command queue engine.
Hint: Do this before trying to read registers.. :)
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
Diffstat (limited to 'drivers/mfd/glamo')
-rw-r--r-- | drivers/mfd/glamo/glamo-core.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mfd/glamo/glamo-core.c b/drivers/mfd/glamo/glamo-core.c index ffb3f40bc4e..dfde0f33173 100644 --- a/drivers/mfd/glamo/glamo-core.c +++ b/drivers/mfd/glamo/glamo-core.c @@ -616,6 +616,11 @@ struct glamo_script reset_regs[] = { [GLAMO_ENGINE_JPEG] = { GLAMO_REG_CLOCK_JPEG, GLAMO_CLOCK_JPEG_RESET }, + /* The following is defined as "Reset command queue", nothing to do + * with the 2D engine. */ + [GLAMO_ENGINE_CMDQ] = { + GLAMO_REG_CLOCK_2D, GLAMO_CLOCK_2D_CQ_RESET + }, }; void glamo_engine_reset(struct glamo_core *glamo, enum glamo_engine engine) |