Re: [PATCH] usb: gadget: hid: allow dynamic interval configuration via configfs

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

 



On Tue, Apr 29, 2025 at 09:33:10AM -0400, hoff.benjamin.k@xxxxxxxxx wrote:
> From: Ben Hoff <hoff.benjamin.k@xxxxxxxxx>
> 
> This patch adds support for dynamically configuring the polling interval
> (bInterval) for HID function drivers using configfs. This enables
> custom HID gadgets with user-specified poll rates without recompilation.

But you changed the default from:

> -	.bInterval		= 4, /* FIXME: Add this field in the
> -				      * HID gadget configuration?
> -				      * (struct hidg_func_descriptor)
> -				      */

 to:
 
> +	opts->interval = 10;

do you mean to do that without documenting it?

thanks,

greg k-h




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

  Powered by Linux