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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 May 2021 07:50:29 +0000 (09:50 +0200)
commitcd6e679b8d1d493cc65067260e690bdc99542172
treef52ed964467c55c442779b71940a2aa631126662
parent0d74db1457872be4e272652996a7d86c07f20e76
wilc1000: write value to WILC_INTR2_ENABLE register

[ Upstream commit e21b6e5a54628cd3935f200049d4430c25c54e03 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/microchip/wilc1000/sdio.c