ASoC: cs35l56: Rename mixer source defines for SoundWire DP1
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Tue, 18 Apr 2023 14:43:09 +0000 (15:43 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 18 Apr 2023 16:09:16 +0000 (17:09 +0100)
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>
include/sound/cs35l56.h
sound/soc/codecs/cs35l56-shared.c

index 0b2f7cfc6a4a71feaebaad5406bdc284bb720bd4..002042b1c73cd4ef46b225cc7d5d8b0013fedca2 100644 (file)
 #define CS35L56_INPUT_SRC_DSP1TX8                      0x39
 #define CS35L56_INPUT_SRC_TEMPMON                      0x3A
 #define CS35L56_INPUT_SRC_INTERPOLATOR                 0x40
-#define CS35L56_INPUT_SRC_SWIRE_RX1                    0x44
-#define CS35L56_INPUT_SRC_SWIRE_RX2                    0x45
+#define CS35L56_INPUT_SRC_SWIRE_DP1_CHANNEL1           0x44
+#define CS35L56_INPUT_SRC_SWIRE_DP1_CHANNEL2           0x45
 #define CS35L56_INPUT_MASK                             0x7F
 
 #define CS35L56_NUM_INPUT_SRC                          21
index 93a1b056660bb6c90ac7b76da3e896b150d6a7d3..60da8c75b7b9e519060965a551479e21cc306efd 100644 (file)
@@ -302,8 +302,8 @@ const unsigned int cs35l56_tx_input_values[] = {
        CS35L56_INPUT_SRC_DSP1TX8,
        CS35L56_INPUT_SRC_TEMPMON,
        CS35L56_INPUT_SRC_INTERPOLATOR,
-       CS35L56_INPUT_SRC_SWIRE_RX1,
-       CS35L56_INPUT_SRC_SWIRE_RX2,
+       CS35L56_INPUT_SRC_SWIRE_DP1_CHANNEL1,
+       CS35L56_INPUT_SRC_SWIRE_DP1_CHANNEL2,
 };
 EXPORT_SYMBOL_NS_GPL(cs35l56_tx_input_values, SND_SOC_CS35L56_SHARED);