diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-11-07 08:08:20 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-09 09:01:39 -0500 |
commit | fbd972d7f4a60677f6fbe558dc23e4029dc2d45d (patch) | |
tree | a9ce4fb5949086b3c3e65d0745786ca5b55cd997 | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) |
ASoC: wm8978: Adjust clock indices so that simple card works
Using simple-card with the wm8978 doesn't work because simple card calls
set_sysclk on the clock index 0, which is not the MCLK in the WM8978.
Adjust the clock definition so that the clock 0 is the MCLK.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/wm8978.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8978.h b/sound/soc/codecs/wm8978.h index 6ae43495b7cf..0dcf6868dff6 100644 --- a/sound/soc/codecs/wm8978.h +++ b/sound/soc/codecs/wm8978.h | |||
@@ -78,8 +78,8 @@ enum wm8978_clk_id { | |||
78 | }; | 78 | }; |
79 | 79 | ||
80 | enum wm8978_sysclk_src { | 80 | enum wm8978_sysclk_src { |
81 | WM8978_MCLK = 0, | ||
81 | WM8978_PLL, | 82 | WM8978_PLL, |
82 | WM8978_MCLK | ||
83 | }; | 83 | }; |
84 | 84 | ||
85 | #endif /* __WM8978_H__ */ | 85 | #endif /* __WM8978_H__ */ |