summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/creative-zen
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-02-10 22:25:38 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2014-02-10 23:14:26 +0100
commit619f7fba939064c0728ef50c72474ccb4898df3a (patch)
tree2c2b2f295f3e126c8d45e72853cb281536cfa114 /firmware/target/arm/imx233/creative-zen
parent0d5b061ecc86a444f6c7a958b8ea5db7f2ceb324 (diff)
downloadrockbox-619f7fba939064c0728ef50c72474ccb4898df3a.tar.gz
rockbox-619f7fba939064c0728ef50c72474ccb4898df3a.zip
zen: enable dma channel after lcdif init
Change-Id: I8886698ed618f9724df2f46d71f36b7443bc821b
Diffstat (limited to 'firmware/target/arm/imx233/creative-zen')
-rw-r--r--firmware/target/arm/imx233/creative-zen/lcd-zen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/creative-zen/lcd-zen.c b/firmware/target/arm/imx233/creative-zen/lcd-zen.c
index fdc1225835..4f459937f0 100644
--- a/firmware/target/arm/imx233/creative-zen/lcd-zen.c
+++ b/firmware/target/arm/imx233/creative-zen/lcd-zen.c
@@ -292,11 +292,11 @@ void lcd_init_device(void)
imx233_clkctrl_set_div(CLK_PIX, 2);
imx233_clkctrl_set_bypass(CLK_PIX, true); /* use XTAL */
imx233_clkctrl_enable(CLK_PIX, true);
- imx233_dma_reset_channel(APB_LCDIF);
- imx233_dma_clkgate_channel(APB_LCDIF, true);
imx233_lcdif_init();
imx233_lcdif_setup_dotclk_pins(8, false);
imx233_lcdif_set_word_length(8);
+ imx233_dma_clkgate_channel(APB_LCDIF, true);
+ imx233_dma_reset_channel(APB_LCDIF);
/** Datasheet states:
* 257H >= VBP >= 3H, VBP > VLW, VFP >= 1H
* 1533clk >= HBP >= 24clk, HBP > HLW, HFP >= 4clk