ASoC: wm8731: Adjust clk definitions so that simple card can work
authorJörg Krause <joerg.krause@embedded.rocks>
Sun, 8 Jan 2017 19:40:48 +0000 (20:40 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 10 Jan 2017 18:06:46 +0000 (18:06 +0000)
commitdfa5def56f61ab872768c4759968b7b7ce286e77
tree3b7534d3e47b02ee6560d97596a04afec095eae7
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: wm8731: Adjust clk definitions so that simple card can work

When trying to use simple card with wm8962 the following probe
error happens:

  wm8731 0-001a: simple-card: set_sysclk error

In simple-card.c the snd_soc_dai_set_sysclk() function is called with
clk_id as 0, which is an invalid clock for wm8731.

Adjust the clocks source definitions in wm8731.h so that the simple
card driver can work successfully

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8731.h