diff options
| author | Christian Daudt <[email protected]> | 2016-05-11 15:06:49 -0700 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2016-06-04 17:58:52 +0300 |
| commit | b746740147dcfe1eb635f76f0a73f7df2b3e37c0 (patch) | |
| tree | 48f15f04ee4368a31dab66db063b93060450112c /tools/perf/scripts | |
| parent | b88a2e80396ba463a4800c62c96e86954cb0f4f7 (diff) | |
brcmfmac: Fix 'did not remove int handler' warning
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.
Signed-off-by: Christian Daudt <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions