commit | 68801eb28ff7b687c529fbded0306a407c40fcd9 | [log] [tgz] |
---|---|---|
author | Ye Li <ye.li@nxp.com> | Mon Jun 29 10:12:59 2020 +0800 |
committer | Marek Vasut <marex@denx.de> | Tue Sep 01 14:47:43 2020 +0200 |
tree | 26c987450664ce86a785e1a0143c47777a63f984 | |
parent | be30ec16e6e33abf964975be4a571d1aac2e5250 [diff] |
usb: ci_udc: Add function to remove usb device When unregister gadget driver in ci_udc, the usb device is not removed or stop. This causes next "usb start" fails to work. Add a new interface "usb_remove_ehci_gadget" in usb-uclass to remove the usb device for DM driver. Using "usb_lowlevel_stop" for non-DM driver. Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>