]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: bytcr_rt5640: Configure PLL1 before using it
authorHans de Goede <hdegoede@redhat.com>
Tue, 8 May 2018 15:35:53 +0000 (17:35 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 11 May 2018 02:23:51 +0000 (11:23 +0900)
commit21f0ea0472388717f3d198ab8fb26de7161574f3
tree637002ce8976662b13518178e0969e65ecdf1b3e
parent39b4658910c2c5a1383821d18cf188ccdef2f42a
ASoC: Intel: bytcr_rt5640: Configure PLL1 before using it

When platform_clock_control() first selects PLL1 as sysclk the PLL_CTRL
registers have not been setup yet and we effectively have an invalid clock
configuration until byt_rt5640_aif1_hw_params() gets called.

Add a new byt_rt5640_prepare_and_enable_pll1() helper and use that from
both platform_clock_control() and byt_rt5640_aif1_hw_params() to fix this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5640.c