Skip to content
Commit 301cfbab authored by Ajay Singh's avatar Ajay Singh Committed by Kalle Valo
Browse files

wilc1000: use correct write command sequence in wilc_spi_sync_ext()



Instead of using double read for the same register, use the write register
command after the read command.
The correct sequence is to use the read value in write command instead of
reading the same register again.

Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210916164902.74629-11-ajay.kathat@microchip.com
parent cd50248d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment