* tinker: initial support * Fix info * Fix uboot defconfig * Split kernel config * Fix name * Add post-image * Init different boot * Add SPL images * Dynamic rauc config * Support SPL for OTA * Fix expand script style * Fix SPL * Bump build u-boot * Cleanup * Add cmd for scritps * Use kernel from armbian * Fix u-boot * Add bluetooth support * Fix bt * Fix env * Change uart debug like rpi * move config
20 lines
639 B
Diff
20 lines
639 B
Diff
diff --git a/sound/usb/card.c b/sound/usb/card.c
|
|
index 23d1d23..98610ae 100644
|
|
--- a/sound/usb/card.c
|
|
+++ b/sound/usb/card.c
|
|
@@ -434,6 +434,14 @@ static int snd_usb_audio_create(struct usb_interface *intf,
|
|
}
|
|
strim(card->shortname);
|
|
|
|
+ /* Tinker Board ALC4040 CODEC */
|
|
+
|
|
+ if(USB_ID_VENDOR(chip->usb_id) == 0x0bda &&
|
|
+ USB_ID_PRODUCT(chip->usb_id) == 0x481a) {
|
|
+ strlcat(card->shortname, " OnBoard", sizeof(card->shortname));
|
|
+ }
|
|
+
|
|
+
|
|
/* retrieve the vendor and device strings as longname */
|
|
if (quirk && quirk->vendor_name && *quirk->vendor_name) {
|
|
len = strlcpy(card->longname, quirk->vendor_name, sizeof(card->longname));
|