ALSA: usb-audio: Drop superfluous '0' in Presonus Studio 1810c's ID
The vendor ID of Presonus Studio 1810c had a superfluous '0' in its
USB ID. Drop it.
Fixes: 8dc5efe3d1
("ALSA: usb-audio: Add support for Presonus Studio 1810c")
Link: https://lore.kernel.org/r/20211202083833.17784-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
ce9778b7a0
commit
1e583aef12
|
@ -375,7 +375,7 @@ static int parse_uac2_sample_rate_range(struct snd_usb_audio *chip,
|
||||||
for (rate = min; rate <= max; rate += res) {
|
for (rate = min; rate <= max; rate += res) {
|
||||||
|
|
||||||
/* Filter out invalid rates on Presonus Studio 1810c */
|
/* Filter out invalid rates on Presonus Studio 1810c */
|
||||||
if (chip->usb_id == USB_ID(0x0194f, 0x010c) &&
|
if (chip->usb_id == USB_ID(0x194f, 0x010c) &&
|
||||||
!s1810c_valid_sample_rate(fp, rate))
|
!s1810c_valid_sample_rate(fp, rate))
|
||||||
goto skip_rate;
|
goto skip_rate;
|
||||||
|
|
||||||
|
|
|
@ -3254,7 +3254,7 @@ int snd_usb_mixer_apply_create_quirk(struct usb_mixer_interface *mixer)
|
||||||
err = snd_rme_controls_create(mixer);
|
err = snd_rme_controls_create(mixer);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case USB_ID(0x0194f, 0x010c): /* Presonus Studio 1810c */
|
case USB_ID(0x194f, 0x010c): /* Presonus Studio 1810c */
|
||||||
err = snd_sc1810_init_mixer(mixer);
|
err = snd_sc1810_init_mixer(mixer);
|
||||||
break;
|
break;
|
||||||
case USB_ID(0x2a39, 0x3fb0): /* RME Babyface Pro FS */
|
case USB_ID(0x2a39, 0x3fb0): /* RME Babyface Pro FS */
|
||||||
|
|
|
@ -1290,7 +1290,7 @@ int snd_usb_apply_interface_quirk(struct snd_usb_audio *chip,
|
||||||
if (chip->usb_id == USB_ID(0x0763, 0x2012))
|
if (chip->usb_id == USB_ID(0x0763, 0x2012))
|
||||||
return fasttrackpro_skip_setting_quirk(chip, iface, altno);
|
return fasttrackpro_skip_setting_quirk(chip, iface, altno);
|
||||||
/* presonus studio 1810c: skip altsets incompatible with device_setup */
|
/* presonus studio 1810c: skip altsets incompatible with device_setup */
|
||||||
if (chip->usb_id == USB_ID(0x0194f, 0x010c))
|
if (chip->usb_id == USB_ID(0x194f, 0x010c))
|
||||||
return s1810c_skip_setting_quirk(chip, iface, altno);
|
return s1810c_skip_setting_quirk(chip, iface, altno);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue