Skip to content
Commit 4e643671 authored by Jun Li's avatar Jun Li Committed by Marek Vasut
Browse files

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: default avatarYe Li <ye.li@nxp.com>
Signed-off-by: default avatarLi Jun <jun.li@nxp.com>
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
parent 8043cf8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment