• Takashi Iwai's avatar
    ALSA: hda - Fix yet remaining issue with vmaster 0dB initialization · d6c0615f
    Takashi Iwai authored
    The previous fix for addressing the breakage in vmaster slave
    initialization, commit a91d6612 ("ALSA: hda - Fix incorrect TLV
    callback check introduced during set_fs() removal"), introduced a new
    helper to process over each slave kctl.  However, this helper passes
    only the original kctl, not the virtual slave kctl.  As a result,
    HD-audio driver (which is the only user so far) couldn't initialize
    the slave correctly because it's trying to update the value directly
    with the original kctl, not with the mapped kctl.
    
    This patch fixes the situation again by passing both the mapped slaved
    and original slave kctls to the function.  Luckily there is a single
    caller as of now, so changing the call signature is no big matter.
    
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=197959
    Fixes: a91d6612 ("ALSA: hda - Fix incorrect TLV callback check introduced during set_fs() removal")
    Cc: <stable@vger.kernel.org>
    Signed-off-by: 's avatarTakashi Iwai <tiwai@suse.de>
    d6c0615f
Name
Last commit
Last update
..
oss Loading commit data...
seq Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
compress_offload.c Loading commit data...
control.c Loading commit data...
control_compat.c Loading commit data...
ctljack.c Loading commit data...
device.c Loading commit data...
hrtimer.c Loading commit data...
hwdep.c Loading commit data...
hwdep_compat.c Loading commit data...
info.c Loading commit data...
info_oss.c Loading commit data...
init.c Loading commit data...
isadma.c Loading commit data...
jack.c Loading commit data...
memalloc.c Loading commit data...
memory.c Loading commit data...
misc.c Loading commit data...
pcm.c Loading commit data...
pcm_compat.c Loading commit data...
pcm_dmaengine.c Loading commit data...
pcm_drm_eld.c Loading commit data...
pcm_iec958.c Loading commit data...
pcm_lib.c Loading commit data...
pcm_local.h Loading commit data...
pcm_memory.c Loading commit data...
pcm_misc.c Loading commit data...
pcm_native.c Loading commit data...
pcm_param_trace.h Loading commit data...
pcm_timer.c Loading commit data...
pcm_trace.h Loading commit data...
rawmidi.c Loading commit data...
rawmidi_compat.c Loading commit data...
seq_device.c Loading commit data...
sgbuf.c Loading commit data...
sound.c Loading commit data...
sound_oss.c Loading commit data...
timer.c Loading commit data...
timer_compat.c Loading commit data...
vmaster.c Loading commit data...