summaryrefslogtreecommitdiff
path: root/sound/usb
diff options
context:
space:
mode:
authorNicola Lunghi <nick83ola@gmail.com>2020-01-25 15:09:17 +0000
committerTakashi Iwai <tiwai@suse.de>2020-01-26 09:29:57 +0100
commitb81cbf7abfc94878a3c6f0789f2185ee55b1cc21 (patch)
tree686dbfb32adab1810a91c56ec2b60c7de3468ef1 /sound/usb
parentd8feb6080bb0c9f4d799a423d9453048fdd06990 (diff)
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: Nicola Lunghi <nick83ola@gmail.com> Link: https://lore.kernel.org/r/20200125150917.5040-1-nick83ola@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
-rw-r--r--sound/usb/format.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/usb/format.c b/sound/usb/format.c
index d79db71305f6..53922f73467f 100644
--- a/sound/usb/format.c
+++ b/sound/usb/format.c
@@ -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);