summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-08-27 15:55:39 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-08-27 17:49:11 +0200
commit7677a9946f90a277c24aaa45366cefee19dd1ab8 (patch)
tree22e1f7fcebc3c487c0d4d9f0a0f7688e969832aa
parent5d2d747247b6ff6b4a82b5674f05c47a838c499b (diff)
downloadrockbox-7677a9946f90a277c24aaa45366cefee19dd1ab8.tar.gz
rockbox-7677a9946f90a277c24aaa45366cefee19dd1ab8.tar.bz2
rockbox-7677a9946f90a277c24aaa45366cefee19dd1ab8.zip
zen/zenxfi: increase LCD clock frequency
Change-Id: I157e0d537a1b9d73eda4e18a4a64b10410c6fac4
-rw-r--r--firmware/target/arm/imx233/creative-zen/lcd-zen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/creative-zen/lcd-zen.c b/firmware/target/arm/imx233/creative-zen/lcd-zen.c
index 5926c732ba..3d92954808 100644
--- a/firmware/target/arm/imx233/creative-zen/lcd-zen.c
+++ b/firmware/target/arm/imx233/creative-zen/lcd-zen.c
@@ -292,7 +292,7 @@ void lcd_init_device(void)
/** lcd is 320x240, data bus is 8-bit, depth is 24-bit so we need 3clk/pix
* by running PIX clock at 24MHz we can sustain ~100 fps */
imx233_clkctrl_enable(CLK_PIX, false);
- imx233_clkctrl_set_div(CLK_PIX, 2);
+ imx233_clkctrl_set_div(CLK_PIX, 1);
imx233_clkctrl_set_bypass(CLK_PIX, true); /* use XTAL */
imx233_clkctrl_enable(CLK_PIX, true);
imx233_lcdif_init();