Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148275
b: refs/heads/master
c: 916465a
h: refs/heads/master
i:
  148273: 669a272
  148271: d613fb5
v: v3
  • Loading branch information
Karl Beldan authored and Mark Brown committed May 14, 2009
1 parent 6429711 commit 571cb26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 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: 9bc04fd1677a956fdd7c5645a09de34ca9a8f1a6
refs/heads/master: 916465a841937a60baac6144ae3f41b0d1560f3b
11 changes: 3 additions & 8 deletions trunk/sound/soc/pxa/pxa2xx-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,6 @@ static void pxa2xx_i2s_shutdown(struct snd_pcm_substream *substream,
#ifdef CONFIG_PM
static int pxa2xx_i2s_suspend(struct snd_soc_dai *dai)
{
if (!dai->active)
return 0;

/* store registers */
pxa_i2s.sacr0 = SACR0;
pxa_i2s.sacr1 = SACR1;
Expand All @@ -279,16 +276,14 @@ static int pxa2xx_i2s_suspend(struct snd_soc_dai *dai)

static int pxa2xx_i2s_resume(struct snd_soc_dai *dai)
{
if (!dai->active)
return 0;

pxa_i2s_wait();

SACR0 = pxa_i2s.sacr0 &= ~SACR0_ENB;
SACR0 = pxa_i2s.sacr0 & ~SACR0_ENB;
SACR1 = pxa_i2s.sacr1;
SAIMR = pxa_i2s.saimr;
SADIV = pxa_i2s.sadiv;
SACR0 |= SACR0_ENB;

SACR0 = pxa_i2s.sacr0;

return 0;
}
Expand Down

0 comments on commit 571cb26

Please sign in to comment.