ALSA: usb-audio: Use snd_usb_ctl_msg() for Native Instruments quirk
authorTakashi Iwai <tiwai@suse.de>
Thu, 20 Nov 2014 20:39:14 +0000 (21:39 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 20 Nov 2014 20:44:49 +0000 (21:44 +0100)
commit01cb156edbbd4e6c4fd8db0d05f18c62c424f9aa
tree51cad682b4615ca9f2722e9f39ed68d4d012be96
parent6676f3081f7e3dae64e05b87d47a041b782f898a
ALSA: usb-audio: Use snd_usb_ctl_msg() for Native Instruments quirk

snd_nativeinstruments_control_get() uses a stack as a buffer for
usb_control_msg(), but it's basically not allowed.  Replace the call
with a safer helper, snd_usb_ctl_msg(), instead.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_quirks.c