Files
linux/drivers/net
Brian Norris cb6e07ba58 mwifiex: pcie: don't leak DMA buffers when removing
commit 4e841d3eb9 upstream.

When PCIe FLR support was added, much of the remove/release code for
PCIe was migrated to ->down_dev(), but ->down_dev() is never called for
device removal. Let's refactor the cleanup to be done in both cases.

Also, drop the comments above mwifiex_cleanup_pcie(), because they were
clearly wrong, and it's better to have clear and obvious code than to
detail the code steps in comments anyway.

Fixes: 4c5dae59d2 ("mwifiex: add PCIe function level reset support")
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-30 09:41:26 +02:00
..
2016-06-15 22:06:06 -07:00
2016-08-15 11:57:55 -07:00
2016-08-31 14:33:09 -07:00
2017-03-30 09:41:21 +02:00
2017-03-22 12:43:32 +01:00
2016-05-09 00:00:28 -04:00
2016-09-20 22:55:23 -04:00
2017-02-18 15:11:42 +01:00
2016-04-26 15:53:05 -04:00
2016-08-30 22:27:18 -07:00
2017-03-22 12:43:32 +01:00