Re: [PATCH 53/82] usb: dwc3: ep0: simplify dwc3_ep0_handle_feature()

2016-11-01 Thread Felipe Balbi
Hi, John Youn writes: >> +static int dwc3_ep0_handle_device(struct dwc3 *dwc, >> struct usb_ctrlrequest *ctrl, int set) >> { >> -struct dwc3_ep *dep; >> -u32 recip; >> +enum usb_device_state state; >> u32 wValue; >

Re: [PATCH 53/82] usb: dwc3: ep0: simplify dwc3_ep0_handle_feature()

2016-10-31 Thread John Youn
On 10/31/2016 3:51 AM, Felipe Balbi wrote: > By extracting smaller functions from > dwc3_ep0_handle_feature(), it becomes far easier to > understand what's going on. Cleanup only, no > functional changes. > > Signed-off-by: Felipe Balbi > --- > drivers/usb/dwc3/ep0.c | 256 > +++

[PATCH 53/82] usb: dwc3: ep0: simplify dwc3_ep0_handle_feature()

2016-10-31 Thread Felipe Balbi
By extracting smaller functions from dwc3_ep0_handle_feature(), it becomes far easier to understand what's going on. Cleanup only, no functional changes. Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/ep0.c | 256 +++-- 1 file changed, 163 insertions