Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 170086
b: refs/heads/master
c: 66b6cfa
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Nov 27, 2009
1 parent 451ad69 commit 3b4e70f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9eb4a06788a598573c751af1a7e46639afc89513
refs/heads/master: 66b6cfacfc5aa2fda37b0d40cd54931ca5ef8cd7
4 changes: 4 additions & 0 deletions trunk/sound/core/pcm_native.c
Original file line number Diff line number Diff line change
Expand Up @@ -3066,6 +3066,10 @@ static inline struct page *
snd_pcm_default_page_ops(struct snd_pcm_substream *substream, unsigned long ofs)
{
void *vaddr = substream->runtime->dma_area + ofs;
#if defined(CONFIG_MIPS) && defined(CONFIG_DMA_NONCOHERENT)
if (substream->dma_buffer.dev.type == SNDRV_DMA_TYPE_DEV)
return virt_to_page(CAC_ADDR(vaddr));
#endif
return virt_to_page(vaddr);
}

Expand Down

0 comments on commit 3b4e70f

Please sign in to comment.