diff options
Diffstat (limited to 'drivers/pcmcia/pxa2xx_base.c')
-rw-r--r-- | drivers/pcmcia/pxa2xx_base.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/pcmcia/pxa2xx_base.c b/drivers/pcmcia/pxa2xx_base.c index 66c022579d9b..ae07b4db8a6e 100644 --- a/drivers/pcmcia/pxa2xx_base.c +++ b/drivers/pcmcia/pxa2xx_base.c | |||
@@ -177,7 +177,6 @@ pxa2xx_pcmcia_frequency_change(struct soc_pcmcia_socket *skt, | |||
177 | unsigned long val, | 177 | unsigned long val, |
178 | struct cpufreq_freqs *freqs) | 178 | struct cpufreq_freqs *freqs) |
179 | { | 179 | { |
180 | #warning "it's not clear if this is right since the core CPU (N) clock has no effect on the memory (L) clock" | ||
181 | switch (val) { | 180 | switch (val) { |
182 | case CPUFREQ_PRECHANGE: | 181 | case CPUFREQ_PRECHANGE: |
183 | if (freqs->new > freqs->old) { | 182 | if (freqs->new > freqs->old) { |
@@ -185,7 +184,7 @@ pxa2xx_pcmcia_frequency_change(struct soc_pcmcia_socket *skt, | |||
185 | "pre-updating\n", | 184 | "pre-updating\n", |
186 | freqs->new / 1000, (freqs->new / 100) % 10, | 185 | freqs->new / 1000, (freqs->new / 100) % 10, |
187 | freqs->old / 1000, (freqs->old / 100) % 10); | 186 | freqs->old / 1000, (freqs->old / 100) % 10); |
188 | pxa2xx_pcmcia_set_mcxx(skt, freqs->new); | 187 | pxa2xx_pcmcia_set_timing(skt); |
189 | } | 188 | } |
190 | break; | 189 | break; |
191 | 190 | ||
@@ -195,7 +194,7 @@ pxa2xx_pcmcia_frequency_change(struct soc_pcmcia_socket *skt, | |||
195 | "post-updating\n", | 194 | "post-updating\n", |
196 | freqs->new / 1000, (freqs->new / 100) % 10, | 195 | freqs->new / 1000, (freqs->new / 100) % 10, |
197 | freqs->old / 1000, (freqs->old / 100) % 10); | 196 | freqs->old / 1000, (freqs->old / 100) % 10); |
198 | pxa2xx_pcmcia_set_mcxx(skt, freqs->new); | 197 | pxa2xx_pcmcia_set_timing(skt); |
199 | } | 198 | } |
200 | break; | 199 | break; |
201 | } | 200 | } |