]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: cs35l56: Put OTP register defines in correct address order
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Mon, 9 Mar 2026 12:45:43 +0000 (12:45 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 9 Mar 2026 13:44:37 +0000 (13:44 +0000)
Move the defines for the OTP registers to keep the register defines in
order of increasing address.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20260309124543.1135247-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/cs35l56.h

index ae1e1489b6710a8be882588515009400d9c53bf2..51b153bb859893a339869c4f390b1f1aaa51e0d7 100644 (file)
@@ -32,9 +32,6 @@ struct snd_ctl_elem_value;
 #define CS35L56_UPDATE_REGS                            0x0002A0C
 #define CS35L56_REFCLK_INPUT                           0x0002C04
 #define CS35L56_GLOBAL_SAMPLE_RATE                     0x0002C0C
-#define CS35L56_OTP_MEM_53                             0x00300D4
-#define CS35L56_OTP_MEM_54                             0x00300D8
-#define CS35L56_OTP_MEM_55                             0x00300DC
 #define CS35L56_ASP1_ENABLES1                          0x0004800
 #define CS35L56_ASP1_CONTROL1                          0x0004804
 #define CS35L56_ASP1_CONTROL2                          0x0004808
@@ -86,6 +83,9 @@ struct snd_ctl_elem_value;
 #define CS35L56_DIE_STS1                               0x0017040
 #define CS35L56_DIE_STS2                               0x0017044
 #define CS35L56_DSP_RESTRICT_STS1                      0x00190F0
+#define CS35L56_OTP_MEM_53                             0x00300D4
+#define CS35L56_OTP_MEM_54                             0x00300D8
+#define CS35L56_OTP_MEM_55                             0x00300DC
 #define CS35L56_DSP1_XMEM_PACKED_0                     0x2000000
 #define CS35L56_DSP1_XMEM_PACKED_6143                  0x2005FFC
 #define CS35L56_DSP1_XMEM_UNPACKED32_0                 0x2400000