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)
commitddb6b5a964371e8e52e696b2b258bda144c8bd3f
tree9a805bdb0ea49b22ea2a5f86c8743a6956905e22
parent697aebab78a88c6b164cfb74d19b86817d2ccd82
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