]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: 6fire: fix DMA issues with URB transfer_buffer usage
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Tue, 6 Aug 2013 11:53:24 +0000 (14:53 +0300)
committerTakashi Iwai <tiwai@suse.de>
Wed, 7 Aug 2013 14:04:27 +0000 (16:04 +0200)
commit57647345c0b03f8353dd881203cb78e96950e192
tree9a805bdb0ea49b22ea2a5f86c8743a6956905e22
parenta3fcc9323a5d2f9d1aa5070ce7491763c78030aa
ALSA: 6fire: fix DMA issues with URB transfer_buffer usage

Patch fixes 6fire not to use stack as URB transfer_buffer. URB buffers need to
be DMA-able, which stack is not. Furthermore, transfer_buffer should not be
allocated as part of larger device structure because DMA coherency issues and
patch fixes this issue too.

Cc: stable@vger.kernel.org
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Tested-by: Torsten Schenk <torsten.schenk@zoho.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/6fire/comm.c
sound/usb/6fire/comm.h