staging: ks7010: Fix the initialization of the 'sleep_status' structure
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 21 Jul 2021 08:45:11 +0000 (10:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:40:23 +0000 (13:40 +0200)
commit035f83b5abd35169e853190ff5be7bf49cfa3720
tree5aacb1d6ced920c0d0369d4a8abd35314f4e3b68
parentd0a8ef04c22043c88b2ac0628d0f3e2dcca4b8cf
staging: ks7010: Fix the initialization of the 'sleep_status' structure

[ Upstream commit 56315e55119c0ea57e142b6efb7c31208628ad86 ]

'sleep_status' has 3 atomic_t members. Initialize the 3 of them instead of
initializing only 2 of them and setting 0 twice to the same variable.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/d2e52a33a9beab41879551d0ae2fdfc99970adab.1626856991.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/staging/ks7010/ks7010_sdio.c