rtl8xxxu: disable interrupt_in transfer for 8188cu and 8192cu
authorChris Chiu <chris.chiu@canonical.com>
Thu, 1 Jul 2021 16:33:54 +0000 (00:33 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 21 Aug 2021 18:16:52 +0000 (21:16 +0300)
commitf62cdab7f5db4552067996f888d3874e2171c604
tree69673a7eca449f511029e8d9ebb693202157b170
parentda2c9cedc0d0047d3b93764e870969e74835149a
rtl8xxxu: disable interrupt_in transfer for 8188cu and 8192cu

There will be crazy numbers of interrupts triggered by 8188cu and
8192cu module, around 8000~10000 interrupts per second, on the usb
host controller. Compare with the vendor driver source code, it's
mapping to the configuration CONFIG_USB_INTERRUPT_IN_PIPE and it is
disabled by default.

Since the interrupt transfer is neither used for TX/RX nor H2C
commands. Disable it to avoid the excessive amount of interrupts
for the 8188cu and 8192cu module which I only have for verification.

Signed-off-by: Chris Chiu <chris.chiu@canonical.com>
Tested-by: reto.schneider@husqvarnagroup.com
Acked-by: Jes Sorensen <Jes.Sorensen@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210701163354.118403-1-chris.chiu@canonical.com
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c