ASoC: intel: cht_bsw_max98090_ti: Add pmc_plt_clk_0 quirk for Chromebook Clapper
Subsystems (4)
PATCH 1/1 ASoC: intel: cht_bsw_max98090_ti: Add pmc_plt_clk_0 quirk for Chromebook Clapper
The Clapper model Chromebook uses pmc_plt_clk_0 instead of pmc_plt_clk_3 for the mclk, just like the Swanky model.
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 Clapper that was breaking audio support since we were not using the right clock in the cht_bsw_max98090_ti machine driver.
--- sound/soc/intel/boards/cht_bsw_max98090_ti.c | 7 +++++++ 1 file changed, 7 insertions(+)
sound/soc/intel/boards/cht_bsw_max98090_ti.c +7 -0
@@ -389,6 +389,13 @@ static struct snd_soc_card snd_soc_card_cht = { };static const struct dmi_system_id cht_max98090_quirk_table[] = { + { +/* Clapper model Chromebook */ + .matches = { +DMI_MATCH (DMI_PRODUCT_NAME ,"Clapper" ), + }, + .driver_data = (void *)QUIRK_PMC_PLT_CLK_0 , + }, {/* Swanky model Chromebook (Toshiba Chromebook 2) */ .matches = {
Signature · 1 line
2.19.1
Quoted 11 lines · Hans de Goede
The Clapper model Chromebook uses
pmc_plt_clk_0instead ofpmc_plt_clk_3for the mclk, just like the Swanky model.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 asCLK_IS_CRITICAL") that commit fixes us unnecessary keeping unused clocks on, but in case of the Clapper that was breaking audio support since we were not using the right clock in thecht_bsw_max98090_timachine driver.
Quoted 3 lines
Fixes 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL")Signed-off-by Hans de Goede <[email protected]>
Quoted 22 lines
--- sound/soc/intel/boards/cht_bsw_max98090_ti.c | 7 +++++++ 1 file changed, 7 insertions(+)sound/soc/intel/boards/cht_bsw_max98090_ti.c +7
-0@@ -389,6 +389,13 @@ static struct snd_soc_card snd_soc_card_cht = { };static const struct dmi_system_id cht_max98090_quirk_table[] = { + { +/* Clapper model Chromebook */ + .matches = { +DMI_MATCH (DMI_PRODUCT_NAME ,"Clapper" ), + }, + .driver_data = (void *)QUIRK_PMC_PLT_CLK_0 , + }, {/* Swanky model Chromebook (Toshiba Chromebook 2) */ .matches = {
Mark Brown
maintainerApplied "ASoC: intel: cht_bsw_max98090_ti: Add pmc_plt_clk_0 quirk for Chromebook Clapper" to the asoc tree
In reply to Hans de GoedeThe patch
ASoC: intel: cht_bsw_max98090_ti: Add pmc_plt_clk_0 quirk for Chromebook Clapper
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
984bfb398a3af6fa9b7e80165e524933b0616686Mon Sep 17 00:00:00 2001
From: Hans de Goede <[email protected]>
Date: Sun, 2 Dec 2018 13:21:22 +0100
Subject: [PATCH] ASoC: intel: cht_bsw_max98090_ti: Add pmc_plt_clk_0 quirk for
Chromebook Clapper
The Clapper model Chromebook uses pmc_plt_clk_0 instead of pmc_plt_clk_3 for the mclk, just like the Swanky model.
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 Clapper that was breaking audio support since we were not using the right clock in the cht_bsw_max98090_ti machine driver.
--- sound/soc/intel/boards/cht_bsw_max98090_ti.c | 7 +++++++ 1 file changed, 7 insertions(+)
sound/soc/intel/boards/cht_bsw_max98090_ti.c +7 -0
@@ -389,6 +389,13 @@ static struct snd_soc_card snd_soc_card_cht = { };static const struct dmi_system_id cht_max98090_quirk_table[] = { + { +/* Clapper model Chromebook */ + .matches = { +DMI_MATCH (DMI_PRODUCT_NAME ,"Clapper" ), + }, + .driver_data = (void *)QUIRK_PMC_PLT_CLK_0 , + }, {/* Swanky model Chromebook (Toshiba Chromebook 2) */ .matches = {
Signature · 1 line
2.19.0.rc2