usb: gadget: s3c-hsotg: fix clear feature ENDPOINT_HALT
authorRobert Baldyga <r.baldyga@samsung.com>
Thu, 19 Sep 2013 09:50:22 +0000 (11:50 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 15 Oct 2013 13:45:47 +0000 (08:45 -0500)
commitbd9ef7bf0c8e129f24b28366e6c7e9ea92a7aed6
tree4800a25abf445ec05160f7e4f45013b414a2115e
parenta18ed7b036454794dc2d18b92e531c76953d556f
usb: gadget: s3c-hsotg: fix clear feature ENDPOINT_HALT

All requests for endpoint are completed when it was halted and the halt was
cleared by CLEAR_FEATURE, but not when new state is same as previous.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c-hsotg.c