]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ASoC: es8328: Move clock setup to hw_params
authorJohn Keeping <john@metanate.com>
Mon, 9 May 2016 11:24:29 +0000 (12:24 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 10 May 2016 17:56:01 +0000 (18:56 +0100)
commit420c470d6b5c2924a3182edf5b002870ff770331
tree32d618759c262a3db32fadbd37a100540c94440b
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
ASoC: es8328: Move clock setup to hw_params

This ensures that the clock is setup after its frequency has been set;
the existing code in set_dai_fmt may be called before the clock rate has
been set resulting in an incorrect configuration.

Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8328.c