From 8898aa0a73462db0acf7ac09cc066e1d13ad198b Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 28 Apr 2009 01:36:28 +0100 Subject: 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 --- drivers/mfd/glamo/glamo-core.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/mfd/glamo/glamo-core.c') 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) -- cgit v1.2.3