diff options
author | Jun Li <jun.li@nxp.com> | 2021-01-25 21:43:52 +0800 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2021-01-31 14:08:56 +0100 |
commit | 4e643671f53173bf0f95f11e3b5a1872ffe029d3 (patch) | |
tree | 8191a61b1045bc704025f24b9d08a19040833e8e /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c | |
parent | 8043cf8fbd93dfceeec14a8c00eda292deaca938 (diff) | |
download | u-boot-4e643671f53173bf0f95f11e3b5a1872ffe029d3.tar.gz u-boot-4e643671f53173bf0f95f11e3b5a1872ffe029d3.tar.xz u-boot-4e643671f53173bf0f95f11e3b5a1872ffe029d3.zip |
usb: gadget: set correct usb_configuration for os_desc_config
The current way to set cdev->os_desc_config is wrong if user restart
fastboot, as the old config is not used anymore and new allocated
usb_configuration will be used, so set the os_desc_config while
usb_add_config.
Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c')
0 files changed, 0 insertions, 0 deletions