Re: Testing endpoint halt support for raw-gadget

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> writes:
> On Mon, 4 May 2020, Andrey Konovalov wrote:
>
>> One more question (sorry for so many :).
>> 
>> Looking at other fields of usb_request struct I see frame_number.
>> AFAIU it's filled in by the UDC driver for ISO transfers. Does it make
>> sense to expose it to userspace? I don't see any composite/legacy
>> gadgets use that field at all.
>
> Do any of those gadget drivers use isochronous endpoints?
>
> In fact, it also looks like none of the drivers in gadget/udc/ touch
> the frame_number field.  Maybe we should just get rid of it, since it
> isn't being used.
>
> Felipe, any preference?

It was added for functions to use to tell the UDC which frame they want
to start the request, but it was never used. I don't mind removing it.

-- 
balbi

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux