Search Linux Wireless

Re: [PATCH] brcmfmac: Fix 'did not remove int handler' warning

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

 



Christian Daudt <csd@xxxxxxxxxxxx> writes:

> brcmf_sdiod_intr_unregister call that removes both func1 and
> func2 interrupt handlers only called when brcmf_ops_sdio_remove
> is called for func 1 (which is the 2nd call) but sdio is expecting
> it to be removed at the end of each sdio_remove call.
> This is causing 'rmmod bcmrfmac' on a 4356-sdio chip to complain
> with:
> WARNING: driver brcmfmac did not remove its interrupt handler!
>
> The modification makes calling brcmf_sdiod_intr_unregister multiple
> times harmless by clearing the variables that track if interrupt
> handlers have been installed, and then calls it on every
> brcmf_ops_sdio_remove call instead of just remove for func 1.
>
> Note: this needs to be applied on top of
> "[PATCH] Fix kernel oops in failed chip_attach"

If you submit two patches at the same time, and where one patch depends
on another, it's best to submit them in the same series ([PATCH 1/2] and
[PATCH 2/2]). So please submit v2 as a series, I'm dropping this.

-- 
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux