hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/sound/usb/format.c
....@@ -40,8 +40,12 @@
4040 case UAC_VERSION_1:
4141 default: {
4242 struct uac_format_type_i_discrete_descriptor *fmt = _fmt;
43
- if (format >= 64)
44
- return 0; /* invalid format */
43
+ if (format >= 64) {
44
+ usb_audio_info(chip,
45
+ "%u:%d: invalid format type 0x%llx is detected, processed as PCM\n",
46
+ fp->iface, fp->altsetting, format);
47
+ format = UAC_FORMAT_TYPE_I_PCM;
48
+ }
4549 sample_width = fmt->bBitResolution;
4650 sample_bytes = fmt->bSubframeSize;
4751 format = 1ULL << format;
....@@ -415,6 +419,7 @@
415419 case USB_ID(0x0e41, 0x4248): /* Line6 Helix >= fw 2.82 */
416420 case USB_ID(0x0e41, 0x4249): /* Line6 Helix Rack >= fw 2.82 */
417421 case USB_ID(0x0e41, 0x424a): /* Line6 Helix LT >= fw 2.82 */
422
+ case USB_ID(0x0e41, 0x424b): /* Line6 Pod Go */
418423 case USB_ID(0x19f7, 0x0011): /* Rode Rodecaster Pro */
419424 return set_fixed_rate(fp, 48000, SNDRV_PCM_RATE_48000);
420425 }