ALSA: usb-audio: uac1: Invalidate ctl on interrupt
authorJulian Scheel <julian@jusst.de>
Thu, 16 Nov 2017 16:35:17 +0000 (17:35 +0100)
committerSasha Levin <sashal@kernel.org>
Tue, 30 Jun 2020 19:38:41 +0000 (15:38 -0400)
commit65f4bed11018b6538a363bab1a122b77082ab898
treead579f8c046efe33805573a895b7ad63be90538f
parent8de06e1d3b21c23b4eb9362d82557db6bbe18774
ALSA: usb-audio: uac1: Invalidate ctl on interrupt

[ Upstream commit b2500b584cfd228d67e1e43daf27c8af865b499e ]

When an interrupt occurs, the value of at least one of the belonging
controls should have changed. To make sure they get re-read from device
on the next read, invalidate the cache. This was correctly implemented
for uac2 already, but missing for uac1.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/usb/mixer.c