]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: hda/tas2781: remove digital gain kcontrol
authorGergo Koteles <soyer@irl.hu>
Tue, 26 Mar 2024 16:18:45 +0000 (17:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2024 13:28:53 +0000 (15:28 +0200)
commitb999e77ecf3a30e03f023c0acc1d97dbd5d42087
treea41d848c54cae8aafc1d7c48b56378b00753ac7a
parent11b4dc6494b59e488b4a433d098e5f85ebf63167
ALSA: hda/tas2781: remove digital gain kcontrol

commit ae065d0ce9e36ca4efdfb9b96ce3395bd1c19372 upstream.

The "Speaker Digital Gain" kcontrol controls the TAS2781_DVC_LVL (0x1A)
register. Unfortunately the tas2563 does not have DVC_LVL, but has
INT_MASK0 in 0x1A, which has been misused so far.

Since commit c1947ce61ff4 ("ALSA: hda/realtek: tas2781: enable subwoofer
volume control") the volume of the tas2781 amplifiers can be controlled
by the master volume, so this digital gain kcontrol is not needed.

Remove it.

Fixes: 5be27f1e3ec9 ("ALSA: hda/tas2781: Add tas2781 HDA driver")
CC: stable@vger.kernel.org
Signed-off-by: Gergo Koteles <soyer@irl.hu>
Message-ID: <741fc21db994efd58f83e7aef38931204961e5b2.1711469583.git.soyer@irl.hu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/tas2781_hda_i2c.c