RE: [PATCH 04/15] usb: misc: ehset: update to use the usb_control_msg_{send|recv}() API

2020-12-06 Thread Peter Chen
> > The newer usb_control_msg_{send|recv}() API are an improvement on the > existing usb_control_msg() as it ensures that a short read/write is treated as > an error, data can be used off the stack, and raw usb pipes need not be > created > in the calling functions. > For this reason,

[PATCH 04/15] usb: misc: ehset: update to use the usb_control_msg_{send|recv}() API

2020-11-29 Thread Anant Thazhemadam
The newer usb_control_msg_{send|recv}() API are an improvement on the existing usb_control_msg() as it ensures that a short read/write is treated as an error, data can be used off the stack, and raw usb pipes need not be created in the calling functions. For this reason, instances of