RE: [PATCH 2/3] wifi: wcn36xx: Do not enforce interrupt trigger type
From: Alexandre Rapaille
Date: Thu Nov 19 2026 - 02:00:00 EST
> Can you explain why it fails? Is the fix at the right layer here?
On the first probe, request_irq() with IRQF_TRIGGER_HIGH overrides the
DT's edge type and stores level on the mapping, which outlives the
driver. On the re-probe after a WCNSS restart,
irq_create_fwspec_mapping() finds that mapping with a type different
from the DT's and refuses it ("type mismatch"), so
platform_get_irq_byname() returns -ENXIO.
The fix for that is patch 1: with the DT saying level, both agree and
recovery works without this patch (30/30 forced crashes). This one only
stops the driver overriding the DT, as ath10k does; as Luca noted,
every other qcom,wcnss-wlan DT already uses level high. Happy to drop
it if you'd rather keep the flag.