wilc1000: invoke chip reset register before firmware download
authorAjay Singh <ajay.kathat@microchip.com>
Thu, 16 Sep 2021 16:49:21 +0000 (16:49 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 21 Sep 2021 15:08:17 +0000 (18:08 +0300)
commit29f7393e02aceab1ae7fad75c76c3717b5196bf8
tree983135879bd89fa1fcaed17a9b41c8bcd988c007
parentaa3fda4fcf63b717e195ca92537da05db55e01a6
wilc1000: invoke chip reset register before firmware download

Add the chip reset command to initialize the WILC chip before downloading
the firmware. Also, put the chip in wake-up mode so it is ready to receive
the firmware binary from the host.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210916164902.74629-9-ajay.kathat@microchip.com
drivers/net/wireless/microchip/wilc1000/wlan.c