]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit541c765b7fda41a44db7560fca196a0b0991ae79
tree8e1eec176035184ad610ba8bde3c543d9e7eeca0
parent5b24af8c45238925fc22a466600fd51b08a0a2d6
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 f81bd8cb62b9 ("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: f81bd8cb62b9 ("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