build/patch/kernel/archive/sunxi-6.2/patches.armbian/drv-usb-gadget-composite-rename-gadget-serial-console-manufactu.patch

29 lines
956 B
Diff
Raw Normal View History

From 57823e200e0b201630abfeaef002351e4e19b945 Mon Sep 17 00:00:00 2001
From: The-going <48602507+The-going@users.noreply.github.com>
Date: Wed, 2 Feb 2022 20:08:50 +0300
Subject: [PATCH 050/153] drv:usb:gadget:composite rename gadget serial console
manufacturer
rename the manufacturer of gadgets for serial consoles
to the Armbian brand.
---
drivers/usb/gadget/composite.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c
index 403563c06..1039e4829 100644
--- a/drivers/usb/gadget/composite.c
+++ b/drivers/usb/gadget/composite.c
@@ -2562,7 +2562,7 @@ EXPORT_SYMBOL_GPL(usb_composite_setup_continue);
static char *composite_default_mfr(struct usb_gadget *gadget)
{
- return kasprintf(GFP_KERNEL, "%s %s with %s", init_utsname()->sysname,
+ return kasprintf(GFP_KERNEL, "%s %s with %s", "Armbian Linux",
init_utsname()->release, gadget->name);
}
--
2.35.3