Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201224
b: refs/heads/master
c: d344a21
h: refs/heads/master
v: v3
  • Loading branch information
Marek Vasut authored and Eric Miao committed Jul 13, 2010
1 parent ad6e896 commit 4b4b32f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3d3d0fbf4dca6bbca5e9ffff9653c3df031c3449
refs/heads/master: d344a21a9a8c29a2f9a29090df134861475a161f
5 changes: 2 additions & 3 deletions trunk/drivers/pcmcia/pxa2xx_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,15 +178,14 @@ pxa2xx_pcmcia_frequency_change(struct soc_pcmcia_socket *skt,
unsigned long val,
struct cpufreq_freqs *freqs)
{
#warning "it's not clear if this is right since the core CPU (N) clock has no effect on the memory (L) clock"
switch (val) {
case CPUFREQ_PRECHANGE:
if (freqs->new > freqs->old) {
debug(skt, 2, "new frequency %u.%uMHz > %u.%uMHz, "
"pre-updating\n",
freqs->new / 1000, (freqs->new / 100) % 10,
freqs->old / 1000, (freqs->old / 100) % 10);
pxa2xx_pcmcia_set_mcxx(skt, freqs->new);
pxa2xx_pcmcia_set_timing(skt);
}
break;

Expand All @@ -196,7 +195,7 @@ pxa2xx_pcmcia_frequency_change(struct soc_pcmcia_socket *skt,
"post-updating\n",
freqs->new / 1000, (freqs->new / 100) % 10,
freqs->old / 1000, (freqs->old / 100) % 10);
pxa2xx_pcmcia_set_mcxx(skt, freqs->new);
pxa2xx_pcmcia_set_timing(skt);
}
break;
}
Expand Down

0 comments on commit 4b4b32f

Please sign in to comment.