summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_jz47xx/onda_vx747/lcd-onda_vx747.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/onda_vx747/lcd-onda_vx747.c')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/onda_vx747/lcd-onda_vx747.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/onda_vx747/lcd-onda_vx747.c b/firmware/target/mips/ingenic_jz47xx/onda_vx747/lcd-onda_vx747.c
index 40d9bb6106..faed5ecda2 100644
--- a/firmware/target/mips/ingenic_jz47xx/onda_vx747/lcd-onda_vx747.c
+++ b/firmware/target/mips/ingenic_jz47xx/onda_vx747/lcd-onda_vx747.c
@@ -203,7 +203,7 @@ static void _set_lcd_clock(void)
203 203
204 __cpm_stop_lcd(); 204 __cpm_stop_lcd();
205 pll_div = ( REG_CPM_CPCCR & CPM_CPCCR_PCS ); /* clock source, 0:pllout/2 1: pllout */ 205 pll_div = ( REG_CPM_CPCCR & CPM_CPCCR_PCS ); /* clock source, 0:pllout/2 1: pllout */
206 pll_div = pll_div ? 1 : 2 ; 206 pll_div = pll_div ? 1 : 2;
207 val = ( __cpm_get_pllout()/pll_div ) / __cpm_get_pclk(); 207 val = ( __cpm_get_pllout()/pll_div ) / __cpm_get_pclk();
208 val--; 208 val--;
209 if ( val > 0x1ff ) 209 if ( val > 0x1ff )