Commit b81cbf7a authored by Nicola Lunghi's avatar Nicola Lunghi Committed by Takashi Iwai

ALSA: usb-audio: add quirks for Line6 Helix devices fw>=2.82

With firmware 2.82 Line6 changed the usb id of some of the Helix
devices but the quirks is still needed.

Add it to the quirk list for line6 helix family of devices.

Thanks to Jens for pointing out the missing ids.
Signed-off-by: default avatarNicola Lunghi <nick83ola@gmail.com>
Link: https://lore.kernel.org/r/20200125150917.5040-1-nick83ola@gmail.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d8feb608
......@@ -296,6 +296,9 @@ static int line6_parse_audio_format_rates_quirk(struct snd_usb_audio *chip,
case USB_ID(0x0E41, 0x4242): /* Line6 Helix Rack */
case USB_ID(0x0E41, 0x4244): /* Line6 Helix LT */
case USB_ID(0x0E41, 0x4246): /* Line6 HX-Stomp */
case USB_ID(0x0E41, 0x4248): /* Line6 Helix >= fw 2.82 */
case USB_ID(0x0E41, 0x4249): /* Line6 Helix Rack >= fw 2.82 */
case USB_ID(0x0E41, 0x424a): /* Line6 Helix LT >= fw 2.82 */
/* supported rates: 48Khz */
kfree(fp->rate_table);
fp->rate_table = kmalloc(sizeof(int), GFP_KERNEL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment