usb: gadget: fix possible regression introduced with ep->claimed
This patch fixes possible regression introduced by patch reworking endpoint claiming mechanism. It restores setring ep->driver_data to NULL in usb_ep_autoconfig_reset(), which was removed by patch commit cc476b42. Fixes: cc476b42 ("usb: gadget: encapsulate endpoint claiming mechanism") Reported-by: NFelipe Balbi <balbi@ti.com> Signed-off-by: NRobert Baldyga <r.baldyga@samsung.com> Signed-off-by: NFelipe Balbi <balbi@ti.com>
Showing
想要评论请 注册 或 登录