ALSA: hda/tas2781: remove digital gain kcontrol
authorGergo Koteles <soyer@irl.hu>
Tue, 26 Mar 2024 16:18:45 +0000 (17:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 27 Mar 2024 10:19:11 +0000 (11:19 +0100)
commitae065d0ce9e36ca4efdfb9b96ce3395bd1c19372
tree4163b88eca4aca616c5810f290999333589932ab
parent7590ac2249ebfa6a40db9055fa62d349e9c8e6a6
ALSA: hda/tas2781: remove digital gain kcontrol

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>
sound/pci/hda/tas2781_hda_i2c.c