summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Paulo Goncalves <joao.goncalves@toradex.com>2023-09-04 13:55:51 -0300
committerJoao Paulo Goncalves <joao.goncalves@toradex.com>2023-09-04 16:54:49 -0300
commitc3f7734af6ff0b855c2a9df3627f4610aaf77777 (patch)
tree6fa55e56f8ddfb94185df5339d4c03d1f0606b19
parente091c16a21c6c2c11dd31dcea2b5866a0b97be6c (diff)
toradex: usb: imx: Revert some donwstream changes
Revert donwstream changes for correct USB Gadget VID and PID handling. Upstream-Status: Inappropriate [other] This was need because of a donwstream change on commit e330a88a8a76 ("MLK-25803-2: Update VID/PID"). On upstream it is already corrected by commit a95aee6af70d ("usb: gadget: Make g_dnl USB settings common"). Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
-rw-r--r--arch/arm/mach-imx/spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c
index 919eb6180e..16574ab303 100644
--- a/arch/arm/mach-imx/spl.c
+++ b/arch/arm/mach-imx/spl.c
@@ -184,7 +184,7 @@ u32 spl_boot_device(void)
#ifdef CONFIG_SPL_USB_GADGET
int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name)
{
- put_unaligned(0x0151, &dev->idProduct);
+ put_unaligned(CONFIG_USB_GADGET_PRODUCT_NUM + 0xfff, &dev->idProduct);
return 0;
}