mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

The wrong register was used for digital volume control of TAS2770,
The definition was changed, and usage was also updated.
Fixes: ab29b3460c
("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>
23 lines
654 B
C
23 lines
654 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
//
|
|
// ALSA SoC Texas Instruments TAS2770 Audio Smart Amplifier
|
|
//
|
|
// Copyright (C) 2025 Texas Instruments Incorporated
|
|
// https://www.ti.com
|
|
//
|
|
// The TAS2770 hda driver implements for one, two, or even multiple
|
|
// TAS2770 chips.
|
|
//
|
|
// Author: Baojun Xu <baojun.xu@ti.com>
|
|
//
|
|
|
|
#ifndef __TAS2770_TLV_H__
|
|
#define __TAS2770_TLV_H__
|
|
|
|
#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, -10000, 50, 0);
|
|
static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2770_amp_tlv, 1100, 50, 0);
|
|
|
|
#endif
|