From patchwork Wed Mar 28 02:20:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 132503 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp196546ljb; Tue, 27 Mar 2018 19:21:05 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/9ndH8urDSP4Kvz1cH4BaPhJb0mnzxHbQUHJPOhYsPbZ2PK06AllvBm/DwGNo3gT+t3OxL X-Received: by 10.28.1.197 with SMTP id 188mr1005078wmb.49.1522203665182; Tue, 27 Mar 2018 19:21:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522203665; cv=none; d=google.com; s=arc-20160816; b=DAEdOhprdQqIsmO7xRDWiALcvYU59srKPJg5QAvILDkkEgPk05Y72C+yUmdprnahyr QL6szSuYfs2fu35wvCw2kETFRA3ufV5YrykN9q8JH729xaMmD4F0P+besCWArZg4F9q7 IUtsWt4kAR98V6BOJCeP/Niid1E1R24dW0M8UiNeJSQ8saiN9p2KIfBkc6sfz871Jy4Z 0PAA5hS+JsqAIV1utIoVqs2cj8C2doQzr/DU/I+JGSXtMoibgHWD1CEjzab5Vg0GaFOv PGNAK2fVUsknoC5/e9Da6hJxK6sg4fhTL0AesS/evql5rsCFE+HuVfQ87LzK8ut6jc92 2/cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=JfmT4Ov+pcUy8+ODy5EjHlEEFQKoxp0uayO3LwzgW2Q=; b=Cm8jaxT0d6QSPb7pq20ROt2fj2PVBG+XlNdcmPr+pnPkWI/mPnDsA5nYpeQh3OkySw 8Sp8Cx6Y3adWruUNMegZLZ8u6VB1uJhcC1+DjgUWS8hVRvNgcKctivTlNY3tG9+uj4l5 RBd9Ymb+flqmOZPtz2x5eWnqFPUjjbUlqMdNhp1FrU7bWFCq2c85jvg4q3lQlNzApKs+ 7dNJvm9acYbjrhiRawR1ibdHsnhdzjKUT2Y0LWOWOAWMb6vQLrd/6yiex0xel8tsi/vj Xd92UmDu1CHc+9DwNkc0OMVw+mD2x/wXH3+D5AbSIt4BOKwujWFDP6KrvkSMfTM+Ut01 z+WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=Pqky0SWj; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id n81si2093839wrb.175.2018.03.27.19.21.04; Tue, 27 Mar 2018 19:21:05 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=Pqky0SWj; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 19CD7267219; Wed, 28 Mar 2018 04:21:04 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id E8EDB267299; Wed, 28 Mar 2018 04:21:01 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id 4CA9B26721A for ; Wed, 28 Mar 2018 04:21:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=iPluMOSdo7JlpMlz6S/ibuTOA08/FQg/meCGNHnz/p8=; b=Pqky0SWjzIj4 K1GyvJVAj0WSX0zvZsTIn7geXXn/8RtgVNGPxkaVieEvpAUjWtOys9FrimsDZ5N/7DlgG3AzTM+Xk iogcyTPhGGvchtc3fATwfrlolbsHHhtIMIsH8BGOnSxkTOXio9MFW7hKT+08wRdmbJAw7yGhkoTMh LYvMc=; Received: from [202.155.252.3] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1f10hv-0007eE-5k; Wed, 28 Mar 2018 02:20:59 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 81D0044007A; Wed, 28 Mar 2018 03:20:56 +0100 (BST) From: Mark Brown To: Kuninori Morimoto In-Reply-To: <871sg555xp.wl%kuninori.morimoto.gx@renesas.com> Message-Id: <20180328022056.81D0044007A@finisterre.ee.mobilebroadband> Date: Wed, 28 Mar 2018 03:20:56 +0100 (BST) Cc: alsa-devel@alsa-project.org, Liam Girdwood , Akshu Agrawal , Mark Brown , Alex Deucher , Dylan Reid Subject: [alsa-devel] Applied "ASoC: amd: don't use codec anymore" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: amd: don't use codec anymore 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 >From 4c50e1e3e2c29899c0226f7ad56d7266e814f2b3 Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Wed, 28 Mar 2018 01:48:07 +0000 Subject: [PATCH] ASoC: amd: don't use codec anymore commit c88d31153356 ("ASoC: amd: Enable da7219 master clock using common clock framework") is using rtd->codec, but codec is replaced to component. Let's use component Fixes: c88d31153356 ("ASoC: amd: Enable da7219 master clock using common clock framework") Signed-off-by: Kuninori Morimoto Signed-off-by: Mark Brown --- sound/soc/amd/acp-da7219-max98357a.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.16.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c index 99c6b5ce5c6c..b205c782e494 100644 --- a/sound/soc/amd/acp-da7219-max98357a.c +++ b/sound/soc/amd/acp-da7219-max98357a.c @@ -49,7 +49,6 @@ static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd) { int ret; struct snd_soc_card *card = rtd->card; - struct snd_soc_codec *codec = rtd->codec; struct snd_soc_dai *codec_dai = rtd->codec_dai; struct snd_soc_component *component = codec_dai->component; @@ -69,7 +68,7 @@ static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd) return ret; } - da7219_dai_clk = clk_get(codec->dev, "da7219-dai-clks"); + da7219_dai_clk = clk_get(component->dev, "da7219-dai-clks"); ret = snd_soc_card_jack_new(card, "Headset Jack", SND_JACK_HEADPHONE | SND_JACK_MICROPHONE |