rsi: Optimise sdio claim and release host
authorKarun Eagalapati <karun256@gmail.com>
Thu, 6 Jul 2017 14:37:21 +0000 (20:07 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 28 Jul 2017 14:22:42 +0000 (17:22 +0300)
commit72bccf51d459282e7bf66e2721d4a831a209e918
treeabc39f549146012b250d246e6433a4b0f7bdedeb
parent5f6ae7cae21120bd3236873872532b5864c44ebc
rsi: Optimise sdio claim and release host

SDIO host is already claimed in our interrupt handler. Some lower
level APIs claims host while performing SDIO read or write operations.
Let's use sdio_irq_task variable to check if we are in interrupt
context and claim/release the host accordingly.

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