wil6210: fix support for sparrow chipsets
authorSebastian Gottschall <s.gottschall@dd-wrt.com>
Tue, 4 Mar 2025 01:21:31 +0000 (08:21 +0700)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Sat, 7 Jun 2025 14:36:02 +0000 (07:36 -0700)
commit593963660919a97a4546acfd706dac93625724f5
tree560b65706b4cd815df514076a7c418ad84eb73fb
parentdc9c4252fe0d7a7f1ee904405ea91534277305bf
wil6210: fix support for sparrow chipsets

the wil6210 driver irq handling code is unconditionally writing
edma irq registers which are supposed to be only used on Talyn chipsets.
This however leade to a chipset hang on the older sparrow chipset
generation and firmware will not even boot.
Fix that by simply checking for edma support before handling these
registers.

Tested on Netgear R9000

Signed-off-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
Link: https://patch.msgid.link/20250304012131.25970-2-s.gottschall@dd-wrt.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/wil6210/interrupt.c