Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58216
b: refs/heads/master
c: 1f750a7
h: refs/heads/master
v: v3
  • Loading branch information
Richard Purdie authored and Russell King committed Jul 2, 2007
1 parent a82a8b3 commit 61ca7b1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 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: 756813cac1d0172e1f93d977fe8bd1cd5086be21
refs/heads/master: 1f750a782c0e9593a8d0981ea972f22334980955
4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-pxa/pxa27x.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ void pxa_cpu_pm_enter(suspend_state_t state)
extern void pxa_cpu_resume(void);

if (state == PM_SUSPEND_STANDBY)
CKEN = CKEN_MEMC | CKEN_OSTIMER | CKEN_LCD | CKEN_PWM0;
CKEN = (1 << CKEN_MEMC) | (1 << CKEN_OSTIMER) | (1 << CKEN_LCD) | (1 << CKEN_PWM0);
else
CKEN = CKEN_MEMC | CKEN_OSTIMER;
CKEN = (1 << CKEN_MEMC) | (1 << CKEN_OSTIMER);

/* ensure voltage-change sequencer not initiated, which hangs */
PCFR &= ~PCFR_FVC;
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/arm/pxa2xx-ac97.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ static int __devinit pxa2xx_ac97_probe(struct platform_device *dev)
err:
if (card)
snd_card_free(card);
if (CKEN & CKEN_AC97) {
if (CKEN & (1 << CKEN_AC97)) {
GCR |= GCR_ACLINK_OFF;
free_irq(IRQ_AC97, NULL);
pxa_set_cken(CKEN_AC97, 0);
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/pxa/pxa2xx-ac97.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ static int pxa2xx_ac97_probe(struct platform_device *pdev)
return 0;

err:
if (CKEN & CKEN_AC97) {
if (CKEN & (1 << CKEN_AC97)) {
GCR |= GCR_ACLINK_OFF;
free_irq(IRQ_AC97, NULL);
pxa_set_cken(CKEN_AC97, 0);
Expand Down

0 comments on commit 61ca7b1

Please sign in to comment.