commit | be4a9434843c0d67e9febf50cfc559bd6b8e74f4 | [log] [tgz] |
---|---|---|
author | Jun Li <jun.li@nxp.com> | Mon Jan 25 21:43:52 2021 +0800 |
committer | Marek Vasut <marex@denx.de> | Sun Jan 31 14:08:56 2021 +0100 |
tree | 8191a61b1045bc704025f24b9d08a19040833e8e | |
parent | 2afadd624978ec547baf2b748b6d118a60423519 [diff] |
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>