ASoC: max98088: Add master clock handling
authorAndreas Färber <afaerber@suse.de>
Fri, 5 Oct 2018 07:58:11 +0000 (09:58 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 8 Oct 2018 18:46:15 +0000 (19:46 +0100)
commit62a7fc32a6289dce88787da03f893deab08158c3
tree437843b91a7d6d9cb41a63a94f4607cbb8258e50
parentd6ed11edab5dd10ddf5548c02a9a1132ec728640
ASoC: max98088: Add master clock handling

If master clock is provided through device tree, then update
the master clock frequency during set_sysclk.

Cc: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Tushar Behera <trblinux@gmail.com>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
[m.felsch@pengutronix.de: move mclk request to i2c_probe]
[m.felsch@pengutronix.de: make use of snd_soc_component_get_bias_level()]
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98088.c