Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fbd972d7 authored by Maxime Ripard's avatar Maxime Ripard Committed by Mark Brown
Browse files

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: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1001354c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -78,8 +78,8 @@ enum wm8978_clk_id {
};

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

#endif	/* __WM8978_H__ */