Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3512937imu; Mon, 7 Jan 2019 04:53:33 -0800 (PST) X-Google-Smtp-Source: ALg8bN7kE4zfPG/aYatpY/XvY6Mxm+sHb38NRhRlik681eM0hqr0Q9d/rvTA0w3zQhMauGDZs1sA X-Received: by 2002:a63:e545:: with SMTP id z5mr29904805pgj.195.1546865613862; Mon, 07 Jan 2019 04:53:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546865613; cv=none; d=google.com; s=arc-20160816; b=hbbcyezAc0cGBR/WbwFp1NNDxfMf2wJ8ez+D+yqxANs+HNqbHgf0/CVhbrlkBRhN9t b+DsRzz0eLqxmdq4s2dBuxrbVTJXwgZRWKGJMnxL0MAuC+Q4zAMm8zoLDlyoGftgx7e3 StaS1hYgWZpA5zfuULNM83uvzPzXnkwxZwK/5lMWwdGt9hC9rvLsegQZsjdGWK6BeJIt vCOs3l+ny5YwDgTl+7zMpZpeB+zYh/cnieasco0m/0KgILM+WLyZbpscfgwFMdRGpSKm Lj3vdT76LU/ZrwYtDvU8n3WfT6xuEWZlbiZtHGeQQj14nB/3eQCouRmXY+BySnBwKR0M omPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=6kmQDPxPPghoAlFVZPdhdqaiOmrXUoERNMsTEv9XA2s=; b=dg8AMxJAgeS12JQN541p+csFxoiXwjIU2RW1xYtZPLLTAqVH7G1HMMP887JB7xjVCs hrFAsUTeXB93Bfj+oAi3AnAyO0cTEWSTSUgJpGXKuW528PEBAs1g84h0+KoaV03fw8+Y 2jSCrh3XwlLRQB8C4XQqjloRbwAQaunDwgWYlztRLuc/zpO30AsM9BWRBoterU9aTCHt 4FKqahnxXJfqaPrG8LxDfSEW0EbbGv41mdISLyNsPXJ9FK/OQLQxrwnTlB0QBRcEeAyu L+29dyyfHvquhAR+hCfwey2OikQhBPsGLFzeHBOqcp/UDPFoxJde0PsqcVX59tA/alKM mJrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mWyJWjZA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z86si5136729pfl.209.2019.01.07.04.53.18; Mon, 07 Jan 2019 04:53:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mWyJWjZA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729429AbfAGMvh (ORCPT + 99 others); Mon, 7 Jan 2019 07:51:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:41576 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728563AbfAGMvf (ORCPT ); Mon, 7 Jan 2019 07:51:35 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 16C52206BB; Mon, 7 Jan 2019 12:51:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1546865494; bh=Yd+/+7uQbII7zENUX5E6hinMLCoAVz18e64hTnSPAv0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mWyJWjZAYid0TtkZL6HPObT2LaUhdI9h5/lMncHof3OcMCh8oAVQlnJZuctBWY7Cb aqh0UQKwgPULPvzO9KibbhlA0fneMuoKCXXxMztqTwXBiKxjQFheEv4+CQepP+cOQg DAFlUNA0Dy4LrvtA9Ck6N9fS1MJsWXAcSz/ImdFw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hans de Goede , Pierre-Louis Bossart , Mark Brown Subject: [PATCH 4.19 085/170] ASoC: intel: cht_bsw_max98090_ti: Add pmc_plt_clk_0 quirk for Chromebook Clapper Date: Mon, 7 Jan 2019 13:31:52 +0100 Message-Id: <20190107104503.056297937@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190107104452.953560660@linuxfoundation.org> References: <20190107104452.953560660@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Hans de Goede commit 984bfb398a3af6fa9b7e80165e524933b0616686 upstream. 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. Cc: stable@vger.kernel.org Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL") Signed-off-by: Hans de Goede Acked-by: Pierre-Louis Bossart Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- sound/soc/intel/boards/cht_bsw_max98090_ti.c | 7 +++++++ 1 file changed, 7 insertions(+) --- a/sound/soc/intel/boards/cht_bsw_max98090_ti.c +++ b/sound/soc/intel/boards/cht_bsw_max98090_ti.c @@ -390,6 +390,13 @@ static struct snd_soc_card snd_soc_card_ 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 = { DMI_MATCH(DMI_PRODUCT_NAME, "Swanky"),