diff options
Diffstat (limited to 'sound/soc/codecs/wm0010.c')
-rw-r--r-- | sound/soc/codecs/wm0010.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c index aea916431227..71ce3159a62e 100644 --- a/sound/soc/codecs/wm0010.c +++ b/sound/soc/codecs/wm0010.c | |||
@@ -794,11 +794,11 @@ static int wm0010_set_sysclk(struct snd_soc_codec *codec, int source, | |||
794 | wm0010->max_spi_freq = 0; | 794 | wm0010->max_spi_freq = 0; |
795 | } else { | 795 | } else { |
796 | for (i = 0; i < ARRAY_SIZE(pll_clock_map); i++) | 796 | for (i = 0; i < ARRAY_SIZE(pll_clock_map); i++) |
797 | if (freq >= pll_clock_map[i].max_sysclk) | 797 | if (freq >= pll_clock_map[i].max_sysclk) { |
798 | wm0010->max_spi_freq = pll_clock_map[i].max_pll_spi_speed; | ||
799 | wm0010->pll_clkctrl1 = pll_clock_map[i].pll_clkctrl1; | ||
798 | break; | 800 | break; |
799 | 801 | } | |
800 | wm0010->max_spi_freq = pll_clock_map[i].max_pll_spi_speed; | ||
801 | wm0010->pll_clkctrl1 = pll_clock_map[i].pll_clkctrl1; | ||
802 | } | 802 | } |
803 | 803 | ||
804 | return 0; | 804 | return 0; |