Skip to content

Commit 97af961

Browse files
rfvirgilbroonie
authored andcommitted
ASoC: cs35l56: Put OTP register defines in correct address order
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>
1 parent eae0946 commit 97af961

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

include/sound/cs35l56.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ struct snd_ctl_elem_value;
3232
#define CS35L56_UPDATE_REGS 0x0002A0C
3333
#define CS35L56_REFCLK_INPUT 0x0002C04
3434
#define CS35L56_GLOBAL_SAMPLE_RATE 0x0002C0C
35-
#define CS35L56_OTP_MEM_53 0x00300D4
36-
#define CS35L56_OTP_MEM_54 0x00300D8
37-
#define CS35L56_OTP_MEM_55 0x00300DC
3835
#define CS35L56_ASP1_ENABLES1 0x0004800
3936
#define CS35L56_ASP1_CONTROL1 0x0004804
4037
#define CS35L56_ASP1_CONTROL2 0x0004808
@@ -86,6 +83,9 @@ struct snd_ctl_elem_value;
8683
#define CS35L56_DIE_STS1 0x0017040
8784
#define CS35L56_DIE_STS2 0x0017044
8885
#define CS35L56_DSP_RESTRICT_STS1 0x00190F0
86+
#define CS35L56_OTP_MEM_53 0x00300D4
87+
#define CS35L56_OTP_MEM_54 0x00300D8
88+
#define CS35L56_OTP_MEM_55 0x00300DC
8989
#define CS35L56_DSP1_XMEM_PACKED_0 0x2000000
9090
#define CS35L56_DSP1_XMEM_PACKED_6143 0x2005FFC
9191
#define CS35L56_DSP1_XMEM_UNPACKED32_0 0x2400000

0 commit comments

Comments
 (0)