commit | ef21ede65ee3e0dfd8f2cb37de8892816e2f1257 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Thu May 31 10:29:49 2012 +0300 |
committer | Felipe Balbi <balbi@ti.com> | Sun Jun 03 23:08:27 2012 +0300 |
tree | eb66039a091b94d660b088fe73813e413f6accfa | |
parent | 5cbe8c220c1e126dd0855ad57fe4491b267132b9 [diff] |
usb: dwc3: ep0: simplify error handling on dwc3_ep0_inspect_setup There's no need for returning early. Instead, we can call dwc3_ep0_stall_and_restart() conditionally. Signed-off-by: Felipe Balbi <balbi@ti.com>