On Mon, Aug 02, 2021 at 02:01:20AM +0530, Himadri Pandya wrote: > usb_control_msg_recv() nicely wraps usb_control_msg() and removes the > compulsion of using dma buffers for usb messages. It also includes proper > error check for possible short read. So use the wrapper and remove dma > buffers from the callers. > > Signed-off-by: Himadri Pandya <himadrispandya@xxxxxxxxx> > --- > Changes in v2: > - Drop unnecessary use of wrappers Now applied, with a slightly amended commit message: USB: serial: ftdi_sio: use usb_control_msg_recv() usb_control_msg_recv() nicely wraps usb_control_msg() and removes the compulsion of using DMA buffers for USB messages. It also includes proper error check for possible short read. So use the wrapper where appropriate and remove DMA buffers from the callers. Johan