1. 04 Nov, 2019 1 commit
    • Takashi Iwai's avatar
      ALSA: pcm: Fix missing check of the new non-cached buffer type · 6111fd23
      Takashi Iwai authored
      The check for the mmap support via hw_support_mmap() function misses
      the case where the device is with SNDRV_DMA_TYPE_DEV_UC, which should
      have been treated equally as SNDRV_DMA_TYPE_DEV.  Let's fix it.
      
      Note that this bug doesn't hit any practical problem, because
      SNDRV_DMA_TYPE_DEV_UC is used only for x86-specific drivers
      (snd-hda-intel and snd-intel8x0) for the specific platforms that need
      the non-cached buffers.  And, on such platforms, hw_support_mmap()
      already returns true in anyway.  That's the reason I didn't put
      Cc-to-stable mark here.  This is only for any theoretical future
      extension.
      
      Fixes: 425da159 ("ALSA: pcm: use dma_can_mmap() to check if a device supports dma_mmap_*")
      Fixes: 42e748a0 ("ALSA: memalloc: Add non-cached buffer type")
      Link: https://lore.kernel.org/r/20191104101115.27311-1-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      6111fd23
  2. 02 Nov, 2019 3 commits
  3. 30 Oct, 2019 8 commits
  4. 28 Oct, 2019 4 commits
  5. 26 Oct, 2019 1 commit
  6. 25 Oct, 2019 1 commit
  7. 24 Oct, 2019 3 commits
  8. 23 Oct, 2019 3 commits
  9. 22 Oct, 2019 1 commit
  10. 21 Oct, 2019 5 commits
  11. 19 Oct, 2019 6 commits
  12. 18 Oct, 2019 4 commits