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
Attachments
- signature.asc [application/pgp-signature] 857 bytes
From: Felipe Balbi <balbi@kernel.org>
Date: 2021-01-07 09:28:41
Also in:
lkml
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