]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0becbb4a5f8b578443e8e6698f34ff6df4a0350f
tree983135879bd89fa1fcaed17a9b41c8bcd988c007
parent4ab34434b61a38c0c8c4fd2c9fc04664c374d41e
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