Skip to content

Commit fbd972d

Browse files
mripardbroonie
authored andcommitted
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 1001354 commit fbd972d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/codecs/wm8978.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ enum wm8978_clk_id {
7878
};
7979

8080
enum wm8978_sysclk_src {
81+
WM8978_MCLK = 0,
8182
WM8978_PLL,
82-
WM8978_MCLK
8383
};
8484

8585
#endif /* __WM8978_H__ */

0 commit comments

Comments
 (0)