Skip to content

Commit 12fddae

Browse files
kwizartvijay-suman
authored andcommitted
ALSA: usb-audio: Add sample rate quirk for Microdia JP001 USB Camera
commit 7b9938a14460e8ec7649ca2e80ac0aae9815bf02 upstream. Microdia JP001 does not support reading the sample rate which leads to many lines of "cannot get freq at ep 0x84". This patch adds the USB ID to quirks.c and avoids those error messages. usb 7-4: New USB device found, idVendor=0c45, idProduct=636b, bcdDevice= 1.00 usb 7-4: New USB device strings: Mfr=2, Product=1, SerialNumber=3 usb 7-4: Product: JP001 usb 7-4: Manufacturer: JP001 usb 7-4: SerialNumber: JP001 usb 7-4: 3:1: cannot get freq at ep 0x84 Cc: <[email protected]> Signed-off-by: Nicolas Chauvet <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> (cherry picked from commit 466ef37d5545d2b6a633c5316cf349f5b6942c3c) Signed-off-by: Vijayendra Suman <[email protected]>
1 parent 37edac5 commit 12fddae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sound/usb/quirks.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,6 +1837,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
18371837
QUIRK_FLAG_CTL_MSG_DELAY_1M),
18381838
DEVICE_FLG(0x0c45, 0x6340, /* Sonix HD USB Camera */
18391839
QUIRK_FLAG_GET_SAMPLE_RATE),
1840+
DEVICE_FLG(0x0c45, 0x636b, /* Microdia JP001 USB Camera */
1841+
QUIRK_FLAG_GET_SAMPLE_RATE),
18401842
DEVICE_FLG(0x0d8c, 0x0014, /* USB Audio Device */
18411843
QUIRK_FLAG_CTL_MSG_DELAY_1M),
18421844
DEVICE_FLG(0x0ecb, 0x205c, /* JBL Quantum610 Wireless */

0 commit comments

Comments
 (0)