]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
soundwire: qcom: update status correctly with mask
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 25 May 2023 13:38:09 +0000 (14:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Aug 2023 08:22:33 +0000 (10:22 +0200)
commit6aa7cb3bb5c96a1e344a5111e164c46bf2ee8717
treeed5f8731809cd706a30277f601d1fcf925274a1c
parent3f28ec4a40029a85d22ff00af966f49c81843ae1
soundwire: qcom: update status correctly with mask

[ Upstream commit f84d41b2a083b990cbdf70f3b24b6b108b9678ad ]

SoundWire device status can be incorrectly updated without
proper mask, fix this by adding a mask before updating the status.

Fixes: c7d49c76d1d5 ("soundwire: qcom: add support to new interrupts")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20230525133812.30841-2-srinivas.kandagatla@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soundwire/qcom.c