ASoC: intel: cht_bsw_max98090_ti: Add quirk for boards using pmc_plt_clk_0
authorHans de Goede <hdegoede@redhat.com>
Wed, 31 Oct 2018 14:22:25 +0000 (15:22 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 5 Nov 2018 11:43:06 +0000 (11:43 +0000)
commita182ecd3809c8d5a2da80c520f3602e301c5317e
tree8e1eec176035184ad610ba8bde3c543d9e7eeca0
parent2f5d94123ce3c12a1e15802e6d5ee98f304ccb71
ASoC: intel: cht_bsw_max98090_ti: Add quirk for boards using pmc_plt_clk_0

Some boards such as the Swanky model Chromebooks use pmc_plt_clk_0 for the
mclk instead of pmc_plt_clk_3.

This commit adds a DMI based quirk for this.

This fixing audio no longer working on these devices after
commit 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL")
that commit fixes us unnecessary keeping unused clocks on, but in case
of the Swanky that was breaking audio support since we were not using
the right clock in the cht_bsw_max98090_ti machine driver.

Cc: stable@vger.kernel.org
Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL")
Reported-and-tested-by: Dean Wallace <duffydack73@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/cht_bsw_max98090_ti.c