Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157897
b: refs/heads/master
c: f1d269b
h: refs/heads/master
i:
  157895: 42dc744
v: v3
  • Loading branch information
Roel Kluin authored and Takashi Iwai committed Aug 26, 2009
1 parent ab156b4 commit bd93a08
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 5e8e7c38533a8f86626e9410fa38f5854a6959df
refs/heads/master: f1d269bac24e5ddb3a0650aaeb4117aa806b99f1
6 changes: 3 additions & 3 deletions trunk/sound/oss/vwsnd.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ static void li_setup_dma(dma_chan_t *chan,
ASSERT(!(buffer_paddr & 0xFF));
chan->baseval = (buffer_paddr >> 8) | 1 << (37 - 8);

chan->cfgval = (!LI_CCFG_LOCK |
chan->cfgval = ((chan->cfgval & ~LI_CCFG_LOCK) |
SHIFT_FIELD(desc->ad1843_slot, LI_CCFG_SLOT) |
desc->direction |
mode |
Expand All @@ -638,9 +638,9 @@ static void li_setup_dma(dma_chan_t *chan,
tmask = 13 - fragshift; /* See Lithium DMA Notes above. */
ASSERT(size >= 2 && size <= 7);
ASSERT(tmask >= 1 && tmask <= 7);
chan->ctlval = (!LI_CCTL_RESET |
chan->ctlval = ((chan->ctlval & ~LI_CCTL_RESET) |
SHIFT_FIELD(size, LI_CCTL_SIZE) |
!LI_CCTL_DMA_ENABLE |
(chan->ctlval & ~LI_CCTL_DMA_ENABLE) |
SHIFT_FIELD(tmask, LI_CCTL_TMASK) |
SHIFT_FIELD(0, LI_CCTL_TPTR));

Expand Down

0 comments on commit bd93a08

Please sign in to comment.