usb: gadget: fix possible regression introduced with ep->claimed
authorRobert Baldyga <r.baldyga@samsung.com>
Fri, 21 Aug 2015 09:01:29 +0000 (11:01 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 14 Sep 2015 14:51:50 +0000 (09:51 -0500)
commite4c1b1ba7f663fd77204201eef83baf58e2e5777
tree69dee52f1c6d8fc4bb227733ff8dc2048d930132
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
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 cc476b42a39d.

Fixes: cc476b42a39d ("usb: gadget: encapsulate endpoint
claiming mechanism")
Reported-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/epautoconf.c