]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: gadget: update os_desc_config when add config
authorJun Li <jun.li@nxp.com>
Mon, 25 Jan 2021 13:43:53 +0000 (21:43 +0800)
committerMarek Vasut <marex@denx.de>
Sun, 31 Jan 2021 13:08:56 +0000 (14:08 +0100)
commit42a594de14637f809050cd2e2ea8b4a7f51bb31a
tree86397a70e18e8239b94b504839b44ffb67c1311e
parent4e643671f53173bf0f95f11e3b5a1872ffe029d3
usb: gadget: update os_desc_config when add config

Always use the new added config for os_desc_config to fix cdev->
os_desc_config may miss set in case we restart usb gadget driver.

Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/usb/gadget/composite.c