wilc1000: write value to WILC_INTR2_ENABLE register
authorMarcus Folkesson <marcus.folkesson@gmail.com>
Wed, 24 Feb 2021 16:37:06 +0000 (17:37 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 15 Mar 2021 08:25:16 +0000 (10:25 +0200)
commite21b6e5a54628cd3935f200049d4430c25c54e03
tree91ae0c0ad02f44f30e21ad53ac858eccd763b848
parentf135a1571a0579bebed625e3af0b1fcae6dff7c5
wilc1000: write value to WILC_INTR2_ENABLE register

Write the value instead of reading it twice.

Fixes: c5c77ba18ea6 ("staging: wilc1000: Add SDIO/SPI 802.11 driver")
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210224163706.519658-1-marcus.folkesson@gmail.com
drivers/net/wireless/microchip/wilc1000/sdio.c