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

ASoC: Remove redundant WM8960 SYSCLKSEL clkdiv option

The SYSCLK source is automatically managed when configuring the PLL.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

-5
-4
sound/soc/codecs/wm8960.c
··· 738 738 u16 reg; 739 739 740 740 switch (div_id) { 741 - case WM8960_SYSCLKSEL: 742 - reg = snd_soc_read(codec, WM8960_CLOCK1) & 0x1fe; 743 - snd_soc_write(codec, WM8960_CLOCK1, reg | div); 744 - break; 745 741 case WM8960_SYSCLKDIV: 746 742 reg = snd_soc_read(codec, WM8960_CLOCK1) & 0x1f9; 747 743 snd_soc_write(codec, WM8960_CLOCK1, reg | div);
-1
sound/soc/codecs/wm8960.h
··· 76 76 #define WM8960_OPCLKDIV 2 77 77 #define WM8960_DCLKDIV 3 78 78 #define WM8960_TOCLKSEL 4 79 - #define WM8960_SYSCLKSEL 5 80 79 81 80 #define WM8960_SYSCLK_DIV_1 (0 << 1) 82 81 #define WM8960_SYSCLK_DIV_2 (2 << 1)