rsi: Register interrupt handler before firmware load
authorPrameela Rani Garnepudi <prameela.j04cs@gmail.com>
Fri, 16 Jun 2017 14:35:38 +0000 (20:05 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 21 Jun 2017 15:26:25 +0000 (18:26 +0300)
commit015e367494c1d5f5d6405eae5419f7932e96139a
tree7b0e69d6ef9dc88d324a361c9cd0d39a50b752f2
parent4833c953fd25389403102cede312d211248c3350
rsi: Register interrupt handler before firmware load

Before firmware load, sometimes false interrupts are received.
System hang is observed if interrupt handler is not registered
to receive these interrupts. Hence interrupt handler registration
is moved before firmware load. We will drop these false interrupts
as these are not from the device.

Signed-off-by: Prameela Rani Garnepudi <prameela.j04cs@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_hal.c
drivers/net/wireless/rsi/rsi_91x_sdio.c
drivers/net/wireless/rsi/rsi_main.h