]> git.baikalelectronics.ru Git - kernel.git/commit
wilc1000: handle read failure issue for clockless registers
authorAjay Singh <ajay.kathat@microchip.com>
Thu, 16 Sep 2021 16:49:20 +0000 (16:49 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 21 Sep 2021 15:08:16 +0000 (18:08 +0300)
commit31bab2c8ac9149b523fb8b8fe5d3948ed41af01e
tree18ce6daefbc5af56d5cd8b309fbe37cc1429798d
parent168371ef91a03edb234820c594332d651b80d6cd
wilc1000: handle read failure issue for clockless registers

For SPI bus, the register read fails after read/write to the clockless
register during chip wakeup sequence. Add workaround to send CMD_RESET
command during chip wake-up sequence to overcome the issue.

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-7-ajay.kathat@microchip.com
drivers/net/wireless/microchip/wilc1000/sdio.c
drivers/net/wireless/microchip/wilc1000/spi.c
drivers/net/wireless/microchip/wilc1000/wlan.c
drivers/net/wireless/microchip/wilc1000/wlan.h