]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: wilc1000: use correct sequence of RESET for chip Power-UP/Down
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 24 May 2022 12:06:19 +0000 (12:06 +0000)
committerKalle Valo <kvalo@kernel.org>
Mon, 30 May 2022 11:18:00 +0000 (14:18 +0300)
commitd6bb64b1b607f25cd7efd99db0462082493e7e32
tree1c193b3b1f599f179456327085270916c7f5d64a
parentaf4635d42499647c990a98fb92d21f6e35253347
wifi: wilc1000: use correct sequence of RESET for chip Power-UP/Down

For power-up sequence, WILC expects RESET set to high 5ms after making
chip_en(enable) so corrected chip power-up sequence by making RESET high.
For Power-Down sequence, the correct sequence make RESET and CHIP_EN low
without any extra delay.

Fixes: 7972c4e49c5c ("wilc1000: Add reset/enable GPIO support to SPI driver")
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220524120606.9675-1-ajay.kathat@microchip.com
drivers/net/wireless/microchip/wilc1000/spi.c