diff options
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/system-pp502x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c index c723f1b495..98ee78b0ff 100644 --- a/firmware/target/arm/system-pp502x.c +++ b/firmware/target/arm/system-pp502x.c | |||
@@ -171,7 +171,7 @@ static void pp_set_cpu_frequency(long frequency) | |||
171 | cpu_frequency = CPUFREQ_DEFAULT; | 171 | cpu_frequency = CPUFREQ_DEFAULT; |
172 | break; | 172 | break; |
173 | } | 173 | } |
174 | CLOCK_SOURCE = (CLOCK_SOURCE&~0xf000000)|0x20000000; /* select source #2 */ | 174 | CLOCK_SOURCE = (CLOCK_SOURCE & ~0xf0000000) | 0x20000000; /* select source #2 */ |
175 | 175 | ||
176 | CLCD_CLOCK_SRC; /* dummy read (to sync the write pipeline??) */ | 176 | CLCD_CLOCK_SRC; /* dummy read (to sync the write pipeline??) */ |
177 | CLCD_CLOCK_SRC = clcd_clock_src; /* restore saved value */ | 177 | CLCD_CLOCK_SRC = clcd_clock_src; /* restore saved value */ |