diff options
author | Xinming Hu <huxm@marvell.com> | 2016-12-14 19:40:49 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-01-12 16:49:17 +0200 |
commit | c742e623e9415d3e1e5af00470ae5086fa6dd233 (patch) | |
tree | 2e456fe0524f3455bbcd03ecb4a11066a6317acf /include/net | |
parent | ec750f1082d7cc08ac6d0173e6e377d568c5b2b5 (diff) |
mwifiex: sdio card reset enhancement
Commit b4336a282db8 ("mwifiex: sdio: reset adapter using mmc_hw_reset")
introduces a simple sdio card reset solution based on card remove and
re-probe. This solution has proved to be vulnerable, as card and
adapter structures are not protected, concurrent access will result in
kernel panic issues.
Let's reuse PCIe FLR's functions for SDIO reset to avoid freeing and
reallocating adapter and card structures.
Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions