diff mbox series

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

Message ID 20200125132226.31277-1-nick83ola@gmail.com
State New
Headers show
Series ALSA: usb-audio: add quirks for Line6 Helix fw 2.82 | expand

Commit Message

Nicola Lunghi Jan. 25, 2020, 1:22 p.m. UTC
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@gmail.com>
---
 sound/usb/format.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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);