1. 29 5月, 2018 1 次提交
    • T
      ALSA: usb-audio: Allow non-vmalloc buffer for PCM buffers · f274baa4
      Takashi Iwai 提交于
      Currently, USB-audio driver allocates the PCM buffer via vmalloc(), as
      this serves merely as an intermediate buffer that is copied to each
      URB transfer buffer.  This works well in general on x86, but on some
      archs this may result in cache coherency issues when mmap is used.
      OTOH, it works also on such arch unless mmap is used.
      
      This patch is a step for mitigating the inconvenience; a new module
      option "use_vmalloc" is provided so that user can choose to allocate
      the DMA coherent buffer instead of the existing vmalloc buffer.
      The drawback is that it'd be the standard dma_alloc_coherent() calls
      and the system would require contiguous pages on non-x86 archs.
      
      Note that it's a global option and not dynamically switchable since
      the buffer is pre-allocated at the probe time.  In theory, it's
      possible to be switchable, but it'd be trickier and racier.
      
      As default use_vmalloc option is set to true, so that the old behavior
      is kept.  For allowing the coherent mmap on ARM or MIPS, pass
      use_vmalloc=0 option explicitly.
      Reported-and-tested-by: NDaniel Danzberger <daniel@dd-wrt.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f274baa4
  2. 22 5月, 2018 1 次提交
  3. 09 5月, 2018 1 次提交
  4. 16 4月, 2018 1 次提交
  5. 14 11月, 2017 1 次提交
  6. 31 10月, 2017 1 次提交
    • T
      sound: Retire OSS · 727dede0
      Takashi Iwai 提交于
      Since no complaints have been raised after disabling the build of OSS
      (Open Sound System) by the commit 31cbee6a ("sound: Disable the
      build of OSS drivers"), let's finally drop the whole code and
      documentation.
      
      Some glue codes are still left intact since sound/oss/dmasound stuff
      remains -- which is an independent implementation solely for m68k, and
      it's not covered by ALSA yet.
      
      Also, a couple of API header files (linux/sound.h and
      linux/soundcard.h) are kept remaining as well, since the OSS API
      itself is still supported by ALSA OSS emulation, and applications can
      refer to these.
      
      Where we're at it, some help texts in the top-level Kconfig are
      adjusted, too (who still needs to specify I/O port in kbuild
      nowadays?).
      Reviewed-by: NJaroslav Kysela <perex@perex.cz>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      727dede0
  7. 18 10月, 2017 1 次提交
  8. 13 10月, 2017 2 次提交
  9. 02 7月, 2017 1 次提交
  10. 30 6月, 2017 1 次提交
  11. 03 6月, 2017 1 次提交
  12. 22 5月, 2017 1 次提交
  13. 16 5月, 2017 1 次提交
  14. 10 4月, 2017 1 次提交
  15. 28 2月, 2017 1 次提交
  16. 12 1月, 2017 1 次提交
  17. 12 11月, 2016 11 次提交
  18. 11 11月, 2016 12 次提交