OSDN Git Service

ALSA: usb-audio: uac1: Invalidate ctl on interrupt
authorJulian Scheel <julian@jusst.de>
Thu, 16 Nov 2017 16:35:17 +0000 (17:35 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 17 Nov 2017 10:55:45 +0000 (11:55 +0100)
commitb2500b584cfd228d67e1e43daf27c8af865b499e
tree95d61e4c860e06f7adb5890e2c61e2770607eb99
parent3aabf94c2d95fe465d5fa8590113d1c1f7d8333d
ALSA: usb-audio: uac1: Invalidate ctl on interrupt

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>
sound/usb/mixer.c