aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/glamo/glamo-core.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-05-02 19:11:19 +0100
committerThomas White <taw@bitwiz.org.uk>2009-05-02 19:11:19 +0100
commit6773dc9ed2da52572cf96dd0e1a27e5d6f073e71 (patch)
tree0759aec0c4143659dfff89a89757371b06f1cb83 /drivers/mfd/glamo/glamo-core.c
parent47a56c579f88f1eff1d5862237c7bb56aeb50289 (diff)
Enable GEN51_EN_DIV_GCLK
We must enable the clock divider for the 2D engine in order for anything interesting to happen. Well, duh. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
Diffstat (limited to 'drivers/mfd/glamo/glamo-core.c')
-rw-r--r--drivers/mfd/glamo/glamo-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/glamo/glamo-core.c b/drivers/mfd/glamo/glamo-core.c
index dfde0f33173..a485e34f748 100644
--- a/drivers/mfd/glamo/glamo-core.c
+++ b/drivers/mfd/glamo/glamo-core.c
@@ -477,6 +477,8 @@ int __glamo_engine_enable(struct glamo_core *glamo, enum glamo_engine engine)
__reg_set_bit_mask(glamo, GLAMO_REG_HOSTBUS(2),
GLAMO_HOSTBUS2_MMIO_EN_2D,
GLAMO_HOSTBUS2_MMIO_EN_2D);
+ __reg_set_bit_mask(glamo, GLAMO_REG_CLOCK_GEN5_1,
+ GLAMO_CLOCK_GEN51_EN_DIV_GCLK, 0xffff);
break;
case GLAMO_ENGINE_CMDQ:
__reg_set_bit_mask(glamo, GLAMO_REG_CLOCK_2D,