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

From
Felipe Balbi <balbi@kernel.org>
Date
2021-01-07 09:28:41
Also in
lkml
Reply to
Jerome Brunet, 2021-01-06
Jerome Brunet [off-list ref] 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 allocating
extra memory.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Acked-by: Felipe Balbi <balbi@kernel.org>

-- 
balbi

Attachments

Thread (11 messages) 11 messages, 2 authors, last reply 2021-01-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help