Skip to content

Commit 94e0923

Browse files
author
yupei_lin
committed
Audio : rename on-board sound card for alc-4030u.
Change-Id: I9506e6bc9a77661634a9b38ebe84aa3e833a8c87
1 parent 30285db commit 94e0923

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sound/usb/card.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -427,9 +427,9 @@ static int snd_usb_audio_create(struct usb_interface *intf,
427427
}
428428
strim(card->shortname);
429429

430-
/* OnBoard ALC4040 Audio Codec */
431-
if (USB_ID_VENDOR(chip->usb_id) == 0x0bda &&
432-
USB_ID_PRODUCT(chip->usb_id) == 0x481a) {
430+
/* OnBoard ALC4040 and ALC4030U Audio Codec */
431+
if (USB_ID_VENDOR(chip->usb_id) == 0x0bda) {
432+
if ((USB_ID_PRODUCT(chip->usb_id) == 0x481a) || (USB_ID_PRODUCT(chip->usb_id) == 0x49f6))
433433
strlcat(card->shortname, " OnBoard", sizeof(card->shortname));
434434
}
435435

0 commit comments

Comments
 (0)