]> 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)
commit583c61b8f185d70a29c9d9ed29f7080252cac896
tree8e1eec176035184ad610ba8bde3c543d9e7eeca0
parent9804126765bfde5d6fc56d93494ca3dd948248c5
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 ff06eadd41c1 ("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: ff06eadd41c1 ("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