diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-11-05 09:37:22 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-11-05 09:37:22 -0500 |
commit | 19566b0bd93c34e4941822ed3c0d76a5abddcf82 (patch) | |
tree | 7e1894610584133feb4ee6e08bb3e05eb3d6acc1 /sound/pci/hda/hda_intel.c | |
parent | 9161bd0d1cf375492f0a6aa86b3e4c28b070fb7c (diff) | |
parent | 0725dda207e95ff25f1aa01432250323e0ec49d6 (diff) |
Merge branch 'for-linus' into for-next
This merges the USB-audio disconnect fix and resolves the conflicts
so that we can continue working on development of usb-audio stuff.
Conflicts:
sound/usb/card.c
Diffstat (limited to 'sound/pci/hda/hda_intel.c')
-rw-r--r-- | sound/pci/hda/hda_intel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index cfcca4c30d4d..9ab1e631cb32 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -374,6 +374,8 @@ static void __mark_pages_wc(struct azx *chip, struct snd_dma_buffer *dmab, bool | |||
374 | #ifdef CONFIG_SND_DMA_SGBUF | 374 | #ifdef CONFIG_SND_DMA_SGBUF |
375 | if (dmab->dev.type == SNDRV_DMA_TYPE_DEV_SG) { | 375 | if (dmab->dev.type == SNDRV_DMA_TYPE_DEV_SG) { |
376 | struct snd_sg_buf *sgbuf = dmab->private_data; | 376 | struct snd_sg_buf *sgbuf = dmab->private_data; |
377 | if (chip->driver_type == AZX_DRIVER_CMEDIA) | ||
378 | return; /* deal with only CORB/RIRB buffers */ | ||
377 | if (on) | 379 | if (on) |
378 | set_pages_array_wc(sgbuf->page_table, sgbuf->pages); | 380 | set_pages_array_wc(sgbuf->page_table, sgbuf->pages); |
379 | else | 381 | else |
@@ -1769,7 +1771,7 @@ static void pcm_mmap_prepare(struct snd_pcm_substream *substream, | |||
1769 | #ifdef CONFIG_X86 | 1771 | #ifdef CONFIG_X86 |
1770 | struct azx_pcm *apcm = snd_pcm_substream_chip(substream); | 1772 | struct azx_pcm *apcm = snd_pcm_substream_chip(substream); |
1771 | struct azx *chip = apcm->chip; | 1773 | struct azx *chip = apcm->chip; |
1772 | if (!azx_snoop(chip)) | 1774 | if (!azx_snoop(chip) && chip->driver_type != AZX_DRIVER_CMEDIA) |
1773 | area->vm_page_prot = pgprot_writecombine(area->vm_page_prot); | 1775 | area->vm_page_prot = pgprot_writecombine(area->vm_page_prot); |
1774 | #endif | 1776 | #endif |
1775 | } | 1777 | } |