Skip to content

Commit

Permalink
ASoC: wm8978: Adjust clock indices so that simple card works
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Maxime Ripard authored and Mark Brown committed Nov 9, 2016
1 parent 1001354 commit fbd972d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm8978.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ enum wm8978_clk_id {
};

enum wm8978_sysclk_src {
WM8978_MCLK = 0,
WM8978_PLL,
WM8978_MCLK
};

#endif /* __WM8978_H__ */

0 comments on commit fbd972d

Please sign in to comment.