Re: [PATCH] usb: gadget: f_uac1: add set requests support

From: Greg KH
Date: Wed Feb 16 2022 - 05:36:42 EST


On Wed, Feb 16, 2022 at 05:43:01PM +0800, 3090101217@xxxxxxxxxx wrote:
> From: Jing Leng <jleng@xxxxxxxxxxxxx>
>
> Currently the f_uac1 driver only supports UAC_SET_CUR request.
>
> But when uac1 device is plugged to Ubuntu 20.04 PC, at the stage
> of setup, the PC will send UAC_SET_RES request, If the device
> doesn't respond to the request, the PC will abort the setup process
> and uac1 device can't be recognized on Ubuntu 20.04 PC.

So is this a bug in the Host side to not do stuff like this? Why not
fix it there instead?

Where is the requirement that this command must be handled by the
device?

thanks,

greg k-h