[alsa-devel] [PATCH] ALSA: usb-audio: add quirks for Line6 Helix fw 2.82

Nicola Lunghi nick83ola at gmail.com
Sat Jan 25 14:22:27 CET 2020


Line6 Helix fw 2.82 still needs a quirk to set the audio rate to 48khz but
in respect to older firmware has changed the USB ID of the device.

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

Signed-off-by: Nicola Lunghi <nick83ola at gmail.com>
---
 sound/usb/format.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/usb/format.c b/sound/usb/format.c
index d79db71305f6..e2b98f181d05 100644
--- a/sound/usb/format.c
+++ b/sound/usb/format.c
@@ -296,6 +296,7 @@ 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 */
 		/* supported rates: 48Khz */
 		kfree(fp->rate_table);
 		fp->rate_table = kmalloc(sizeof(int), GFP_KERNEL);
-- 
2.20.1



More information about the Alsa-devel mailing list