summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorBaojun Xu <baojun.xu@ti.com>2025-07-29 22:58:49 +0800
committerTakashi Iwai <tiwai@suse.de>2025-07-29 17:48:29 +0200
commit5dc50b111b40003ed83f74324e8d4023f01bd93e (patch)
tree80bad6b92690cd8b4d5183ebf0b6c0f57904b109 /include/sound
parentd35cdd6ed55e15f0c3ed60b36fc97beb5571332c (diff)
downloadlinux-next-5dc50b111b40003ed83f74324e8d4023f01bd93e.tar.gz
linux-next-5dc50b111b40003ed83f74324e8d4023f01bd93e.zip
ALSA: hda: Fix the wrong register was used for DVC of TAS2770
The wrong register was used for digital volume control of TAS2770, The definition was changed, and usage was also updated. Fixes: ab29b3460c5c ("ALSA: hda: Add TAS2770 support") Signed-off-by: Baojun Xu <baojun.xu@ti.com> Link: https://patch.msgid.link/20250729145849.55057-1-baojun.xu@ti.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/tas2770-tlv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sound/tas2770-tlv.h b/include/sound/tas2770-tlv.h
index c0bd495b4a07..c7380925417a 100644
--- a/include/sound/tas2770-tlv.h
+++ b/include/sound/tas2770-tlv.h
@@ -14,10 +14,10 @@
#ifndef __TAS2770_TLV_H__
#define __TAS2770_TLV_H__
-#define TAS2770_DVC_LEVEL TASDEVICE_REG(0x0, 0x0, 0x17)
+#define TAS2770_DVC_LEVEL TASDEVICE_REG(0x0, 0x0, 0x05)
#define TAS2770_AMP_LEVEL TASDEVICE_REG(0x0, 0x0, 0x03)
-static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2770_dvc_tlv, 1650, 50, 0);
+static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2770_dvc_tlv, -10000, 50, 0);
static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2770_amp_tlv, 1100, 50, 0);
#endif