Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321427
b: refs/heads/master
c: fcfb786
h: refs/heads/master
i:
  321425: bfb93ca
  321423: 4288538
v: v3
  • Loading branch information
Takashi Iwai committed Aug 3, 2012
1 parent c100c8b commit 00ff86a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: c810f9039f040681ec9d9f2983b748c193037297
refs/heads/master: fcfb7866af9a5d0280b7e51dd772990c636b7dec
5 changes: 4 additions & 1 deletion trunk/sound/pci/emu10k1/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,10 @@ snd_emu10k1_alloc_pages(struct snd_emu10k1 *emu, struct snd_pcm_substream *subst
for (page = blk->first_page; page <= blk->last_page; page++, idx++) {
unsigned long ofs = idx << PAGE_SHIFT;
dma_addr_t addr;
addr = snd_pcm_sgbuf_get_addr(substream, ofs);
if (ofs >= runtime->dma_bytes)
addr = emu->silent_page.addr;
else
addr = snd_pcm_sgbuf_get_addr(substream, ofs);
if (! is_valid_page(emu, addr)) {
printk(KERN_ERR "emu: failure page = %d\n", idx);
mutex_unlock(&hdr->block_mutex);
Expand Down

0 comments on commit 00ff86a

Please sign in to comment.