diff options
author | Jaroslav Kysela <perex@perex.cz> | 2021-08-11 18:14:41 +0200 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2021-08-26 08:35:54 -0400 |
commit | f7c125493c78063bb5b80cd91ad5a0501b46970b (patch) | |
tree | ee926af4bbda83acbe1ac173c5303bc8ae6782cd /kernel | |
parent | 7451c309c7a3605a210523f2fb8e78cdd994708b (diff) | |
download | kernel_replicant_linux-f7c125493c78063bb5b80cd91ad5a0501b46970b.tar.gz kernel_replicant_linux-f7c125493c78063bb5b80cd91ad5a0501b46970b.tar.bz2 kernel_replicant_linux-f7c125493c78063bb5b80cd91ad5a0501b46970b.zip |
ALSA: hda - fix the 'Capture Switch' value change notifications
[ Upstream commit a2befe9380dd04ee76c871568deca00eedf89134 ]
The original code in the cap_put_caller() function does not
handle correctly the positive values returned from the passed
function for multiple iterations. It means that the change
notifications may be lost.
Fixes: 352f7f914ebb ("ALSA: hda - Merge Realtek parser code to generic parser")
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=213851
Cc: <stable@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20210811161441.1325250-1-perex@perex.cz
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions