Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257462
b: refs/heads/master
c: fb1e970
h: refs/heads/master
v: v3
  • Loading branch information
Ben Gardiner authored and Mark Brown committed May 25, 2011
1 parent 53f7bf0 commit a3ee13c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 23ca853392aebdaa56c8138746deb2002e03d827
refs/heads/master: fb1e9703af618c7ae0ee43f19778264c1804a50d
5 changes: 3 additions & 2 deletions trunk/sound/soc/davinci/davinci-pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,8 @@ static int request_ping_pong(struct snd_pcm_substream *substream,

edma_read_slot(link, &prtd->asp_params);
prtd->asp_params.opt &= ~(TCCMODE | EDMA_TCC(0x3f) | TCINTEN);
prtd->asp_params.opt |= TCCHEN | EDMA_TCC(prtd->ram_channel & 0x3f);
prtd->asp_params.opt |= TCCHEN |
EDMA_TCC(prtd->ram_channel & 0x3f);
edma_write_slot(link, &prtd->asp_params);

/* pong */
Expand All @@ -439,7 +440,7 @@ static int request_ping_pong(struct snd_pcm_substream *substream,
prtd->asp_params.opt &= ~(TCCMODE | EDMA_TCC(0x3f));
/* interrupt after every pong completion */
prtd->asp_params.opt |= TCINTEN | TCCHEN |
EDMA_TCC(EDMA_CHAN_SLOT(prtd->ram_channel));
EDMA_TCC(prtd->ram_channel & 0x3f);
edma_write_slot(link, &prtd->asp_params);

/* ram */
Expand Down

0 comments on commit a3ee13c

Please sign in to comment.