]> www.infradead.org Git - users/dwmw2/linux.git/commit
xhci: support setting interrupt moderation IMOD for secondary interrupters
authorMathias Nyman <mathias.nyman@linux.intel.com>
Thu, 5 Sep 2024 14:33:00 +0000 (17:33 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Sep 2024 14:39:23 +0000 (16:39 +0200)
commit9c0c11bb87b09a8b7cdc21ca1090e7b36abe9d09
treea2e6bfeab1cdb21d41a0a28055a10b51144a4427
parentf81dfa3b57c624c56f2bff171c431bc7f5b558f2
xhci: support setting interrupt moderation IMOD for secondary interrupters

Allow creators of seconday interrupters to specify the interrupt
moderation interval value in nanoseconds when creating the interrupter.

If not sure what value to use then use the xhci driver default
xhci->imod_interval

Suggested-by: Wesley Cheng <quic_wcheng@quicinc.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20240905143300.1959279-13-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci.c
drivers/usb/host/xhci.h