rsi: buffer available interrupt handling
authorKarun Eagalapati <karun256@gmail.com>
Thu, 3 Aug 2017 14:29:03 +0000 (19:59 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 8 Aug 2017 11:46:03 +0000 (14:46 +0300)
commit67c52a4dafceca8ed63b2d8dc73079059e064399
tree2ba0d2e66abe23a73fb504aeded87bf2830c53f6
parentd64dd2a172d875962f8ae35af3bbd9aa1c679039
rsi: buffer available interrupt handling

BUFFER_AVAILABLE interrupt is sent by firmware to indicate
change in buffer status. We should check buffer status while
handling this interrupt. Currently buffer status is checked
only while dequeueing packets. This patch fixes a data
traffic stuck problem observed occasionally.

Signed-off-by: Karun Eagalapati <karun256@gmail.com>
Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_sdio_ops.c