Skip to content

Commit d29a966

Browse files
rfvirgilbroonie
authored andcommitted
ASoC: cs35l56: Rename mixer source defines for SoundWire DP1
Rename the mixer source defines from CS35L56_INPUT_SRC_SWIRE_RXn to CS35L56_INPUT_SRC_SWIRE_DP1_CHANNELn to match the latest datasheet. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://lore.kernel.org/r/20230418144309.1100721-5-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent d3a4efb commit d29a966

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

include/sound/cs35l56.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@
179179
#define CS35L56_INPUT_SRC_DSP1TX8 0x39
180180
#define CS35L56_INPUT_SRC_TEMPMON 0x3A
181181
#define CS35L56_INPUT_SRC_INTERPOLATOR 0x40
182-
#define CS35L56_INPUT_SRC_SWIRE_RX1 0x44
183-
#define CS35L56_INPUT_SRC_SWIRE_RX2 0x45
182+
#define CS35L56_INPUT_SRC_SWIRE_DP1_CHANNEL1 0x44
183+
#define CS35L56_INPUT_SRC_SWIRE_DP1_CHANNEL2 0x45
184184
#define CS35L56_INPUT_MASK 0x7F
185185

186186
#define CS35L56_NUM_INPUT_SRC 21

sound/soc/codecs/cs35l56-shared.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ const unsigned int cs35l56_tx_input_values[] = {
302302
CS35L56_INPUT_SRC_DSP1TX8,
303303
CS35L56_INPUT_SRC_TEMPMON,
304304
CS35L56_INPUT_SRC_INTERPOLATOR,
305-
CS35L56_INPUT_SRC_SWIRE_RX1,
306-
CS35L56_INPUT_SRC_SWIRE_RX2,
305+
CS35L56_INPUT_SRC_SWIRE_DP1_CHANNEL1,
306+
CS35L56_INPUT_SRC_SWIRE_DP1_CHANNEL2,
307307
};
308308
EXPORT_SYMBOL_NS_GPL(cs35l56_tx_input_values, SND_SOC_CS35L56_SHARED);
309309

0 commit comments

Comments
 (0)