]> git.hungrycats.org Git - linux/commit
ASoC: tac5xx2-sdw: Rename gain and volume macros
authorNiranjan H Y <niranjan.hy@ti.com>
Thu, 20 Aug 2026 11:51:13 +0000 (17:21 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 21 Aug 2026 21:42:09 +0000 (22:42 +0100)
commit04145998fa20f321fd7090089c7f86dba3d36a13
treedac100142d28a38c46891ab6f0afaeb7ec249eea
parent9d4843ac81d15be27e0b03392a99a8bd88a2d86a
ASoC: tac5xx2-sdw: Rename gain and volume macros

  Rename gain and volume macros to match the hardware intent. Currently,
both TAC_SDCA_CHANNEL_GAIN and TAC_SDCA_CHANNEL_VOLUME are defined as 0x02.
Keep only TAC_SDCA_CHANNEL_VOLUME and reposition TAC_SDCA_CHANNEL_GAIN to
0x0B. Remove the now-redundant TAC_SDCA_MASTER_GAIN alias (also 0x0B),
replacing its single use with TAC_SDCA_CHANNEL_GAIN.

Signed-off-by: Niranjan H Y <niranjan.hy@ti.com>
Link: https://patch.msgid.link/20260820115114.1203-2-niranjan.hy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tac5xx2-sdw.c
sound/soc/codecs/tac5xx2.h