alistair23-linux/sound/soc/intel
Sam McNally 791e3ec642 ASoC: Intel: cht_bsw_rt5645: Add quirk for boards using pmc_plt_clk_0
[ Upstream commit adebb11139 ]

As of commit 648e921888 ("clk: x86: Stop marking clocks as
CLK_IS_CRITICAL"), the cht_bsw_rt5645 driver needs to enable the clock
it's using for the codec's mclk. It does this from commit 7735bce05a
("ASoC: Intel: boards: use devm_clk_get() unconditionally"), enabling
pmc_plt_clk_3. However, Strago family Chromebooks use pmc_plt_clk_0 for
the codec mclk, resulting in white noise with some digital microphones.
Add a DMI-based quirk for Strago family Chromebooks to use pmc_plt_clk_0
instead - mirroring the changes made to cht_bsw_max98090_ti in
commit a182ecd380 ("ASoC: intel: cht_bsw_max98090_ti: Add quirk for
boards using pmc_plt_clk_0") and making use of the existing
dmi_check_system() call and related infrastructure added in
commit 22af29114e ("ASoC: Intel: cht-bsw-rt5645: add quirks for
SSP0/AIF1/AIF2 routing").

Signed-off-by: Sam McNally <sammc@chromium.org>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190917054933.209335-1-sammc@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-01 09:34:46 +00:00
..
atom Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
baytrail Merge branch 'asoc-5.4' into asoc-next 2019-09-09 14:55:20 +01:00
boards ASoC: Intel: cht_bsw_rt5645: Add quirk for boards using pmc_plt_clk_0 2020-02-01 09:34:46 +00:00
common sound updates for 5.4 2019-09-17 17:43:33 -07:00
haswell ASoC: Intel: hsw: remove i386 build warning w/ size_t argument 2019-08-13 12:40:46 +01:00
skylake Merge branch 'asoc-5.4' into asoc-next 2019-09-09 14:55:20 +01:00
Kconfig ASoC: SOF: Intel: Broadwell: clarify mutual exclusion with legacy driver 2020-01-17 19:48:34 +01:00
Makefile