Re: [PATCH v2 4/5] usb: gadget: u_audio: remove struct uac_req

2021-01-07 Thread Felipe Balbi
Jerome Brunet writes: > 'struct uac_req' purpose is to link 'struct usb_request' to the > corresponding 'struct uac_rtd_params'. However member req is never > used. Using the context of the usb request, we can keep track of the > corresponding 'struct uac_rtd_params' just as well, without allocat

[PATCH v2 4/5] usb: gadget: u_audio: remove struct uac_req

2021-01-06 Thread Jerome Brunet
'struct uac_req' purpose is to link 'struct usb_request' to the corresponding 'struct uac_rtd_params'. However member req is never used. Using the context of the usb request, we can keep track of the corresponding 'struct uac_rtd_params' just as well, without allocating extra memory. Signed-off-by