Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230424
b: refs/heads/master
c: 775bc97
h: refs/heads/master
v: v3
  • Loading branch information
Jassi Brar authored and Mark Brown committed Dec 20, 2010
1 parent 7894cc8 commit c99e394
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 6ce534aac29ca177749000d76e4ecc8a326c852d
refs/heads/master: 775bc97131c3dcf62d29cdb33e00db8f827eac35
10 changes: 5 additions & 5 deletions trunk/sound/soc/samsung/i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -843,11 +843,6 @@ static int i2s_trigger(struct snd_pcm_substream *substream,
case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
local_irq_save(flags);

if (capture)
i2s_fifo(i2s, FIC_RXFLUSH);
else
i2s_fifo(i2s, FIC_TXFLUSH);

if (config_setup(i2s)) {
local_irq_restore(flags);
return -EINVAL;
Expand All @@ -870,6 +865,11 @@ static int i2s_trigger(struct snd_pcm_substream *substream,
else
i2s_txctrl(i2s, 0);

if (capture)
i2s_fifo(i2s, FIC_RXFLUSH);
else
i2s_fifo(i2s, FIC_TXFLUSH);

local_irq_restore(flags);
break;
}
Expand Down

0 comments on commit c99e394

Please sign in to comment.