ALSA: usb-audio: Fix quirks code is not called
authorKazuki Oikawa <k@oikw.org>
Sun, 17 Jul 2016 16:16:15 +0000 (01:16 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Jul 2016 10:32:45 +0000 (12:32 +0200)
commit76df52969711ae3725a98f26fbbc6a349803dcbf
treedca13d82037823b6a30c5fd84e56d4998eece1a5
parentd716fb03f76411fc7e138692e33b749cada5c094
ALSA: usb-audio: Fix quirks code is not called

snd_usb_{set_interface,ctl_msg}_quirk checks chip->usb_id to need
calling a quirks code. But existed code path that not calling
dev_set_drvdata in usb_audio_probe.

Fixes: 79289e24194a ("ALSA: usb-audio: Refer to chip->usb_id for quirks and MIDI creation")
Signed-off-by: Kazuki Oikawa <k@oikw.org>
Cc: <stable@vger.kernel.org> # v4.6+
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Tested-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.c