Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: adau17x1: Fix incorrect BCLK ratio definitions

Signed-off-by: Andreas Irestål <andire@axis.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Andreas Irestål and committed by
Mark Brown
7c139db2 92e963f5

+3 -3
+3 -3
sound/soc/codecs/adau17x1.h
··· 103 103 #define ADAU17X1_CLOCK_CONTROL_CORECLK_SRC_PLL BIT(3) 104 104 #define ADAU17X1_CLOCK_CONTROL_SYSCLK_EN BIT(0) 105 105 106 - #define ADAU17X1_SERIAL_PORT1_BCLK32 (0x0 << 5) 107 - #define ADAU17X1_SERIAL_PORT1_BCLK48 (0x1 << 5) 108 - #define ADAU17X1_SERIAL_PORT1_BCLK64 (0x2 << 5) 106 + #define ADAU17X1_SERIAL_PORT1_BCLK64 (0x0 << 5) 107 + #define ADAU17X1_SERIAL_PORT1_BCLK32 (0x1 << 5) 108 + #define ADAU17X1_SERIAL_PORT1_BCLK48 (0x2 << 5) 109 109 #define ADAU17X1_SERIAL_PORT1_BCLK128 (0x3 << 5) 110 110 #define ADAU17X1_SERIAL_PORT1_BCLK256 (0x4 << 5) 111 111 #define ADAU17X1_SERIAL_PORT1_BCLK_MASK (0x7 << 5)