mirror of
https://github.com/torvalds/linux.git
synced 2026-10-12 13:27:02 +02:00
ASoC: tas2783-sdw: drop duplicate reg_default entry
TAS2783_AMP_LEVEL is defined as TASDEV_REG_SDW(0x0, 0x00, 0x03), so
tas2783_reg_default[] lists that register twice. Drop the open coded
second entry.
Fixes: 4cc9bd8d7b ("ASoc: tas2783A: Add soundwire based codec driver")
Cc: stable@vger.kernel.org
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://patch.msgid.link/20260805091327.23944-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
8dd18d9956
commit
ceba07ca24
|
|
@ -107,7 +107,6 @@ struct tas2783_prv {
|
|||
|
||||
static const struct reg_default tas2783_reg_default[] = {
|
||||
{TAS2783_AMP_LEVEL, 0x28},
|
||||
{TASDEV_REG_SDW(0, 0, 0x03), 0x28},
|
||||
{TASDEV_REG_SDW(0, 0, 0x04), 0x21},
|
||||
{TASDEV_REG_SDW(0, 0, 0x05), 0x41},
|
||||
{TASDEV_REG_SDW(0, 0, 0x06), 0x00},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user