Skip to content

Commit dabc44c

Browse files
committed
ALSA: usb-audio: Add quirk for HP 320 FHD Webcam
HP 320 FHD Webcam (03f0:654a) seems to have flaky firmware like other webcam devices that don't like the frequency inquiries. Also, Mic Capture Volume has an invalid resolution, hence fix it to be 16 (as a blind shot). Link: https://bugzilla.suse.com/show_bug.cgi?id=1232768 Cc: <stable@vger.kernel.org> Link: https://patch.msgid.link/20241105120220.5740-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 8abbf1f commit dabc44c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

sound/usb/mixer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,6 +1205,7 @@ static void volume_control_quirks(struct usb_mixer_elem_info *cval,
12051205
}
12061206
break;
12071207
case USB_ID(0x1bcf, 0x2283): /* NexiGo N930AF FHD Webcam */
1208+
case USB_ID(0x03f0, 0x654a): /* HP 320 FHD Webcam */
12081209
if (!strcmp(kctl->id.name, "Mic Capture Volume")) {
12091210
usb_audio_info(chip,
12101211
"set resolution quirk: cval->res = 16\n");

sound/usb/quirks.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2114,6 +2114,8 @@ struct usb_audio_quirk_flags_table {
21142114

21152115
static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
21162116
/* Device matches */
2117+
DEVICE_FLG(0x03f0, 0x654a, /* HP 320 FHD Webcam */
2118+
QUIRK_FLAG_GET_SAMPLE_RATE),
21172119
DEVICE_FLG(0x041e, 0x3000, /* Creative SB Extigy */
21182120
QUIRK_FLAG_IGNORE_CTL_ERROR),
21192121
DEVICE_FLG(0x041e, 0x4080, /* Creative Live Cam VF0610 */

0 commit comments

Comments
 (0)