Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1844441imu; Thu, 10 Jan 2019 04:06:40 -0800 (PST) X-Google-Smtp-Source: ALg8bN7HFxf83VLgiLQBq3RevrE/zQkEaosnoOQE0VTTwAfhHtiZ2eooAQMMMLm/QilKcHGGR82w X-Received: by 2002:a17:902:848d:: with SMTP id c13mr10147258plo.257.1547122000397; Thu, 10 Jan 2019 04:06:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547122000; cv=none; d=google.com; s=arc-20160816; b=CTvAAEOaK9YbCp4UFbVRf+AdVj9M2ezU8SnBEau6T96u1ohiIn+SufaAXXD7N38Efm z51Rv1gHSX7eprGhYYZmJ0XibYs8gqleWGn8M1e3HTHYqT5W4YQ+gWQ1XITijA89Uciw EHBPcbgqYcFOojcHP8P+S9EQUdtNGE0tJXpbTJDjHvm1WRtq8INe3ONQIdl59t0hnhN7 60Pcv+pyx5zSMefKq0Oh7jsnC1lkZgj/HpcASxBEoLpAW5Kh0vZF3uhSDD4/HMIyg+Tx khOnUEYB0BbD5IKqKXekofM/tD5TosJzzaGzg8Jyuf/By488Jx20g1C/o4CG+xpuAJ/u 5XQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=9ii/SwTbzoAw7ZUDADMijsWgJ6Y/Kph6hmRMA8PIEOQ=; b=oNNYCa6deVKYiDkVZ/4yoEYslbu1FbQuXI3srusU2Sn1BQiboBh2tD9SIZ1zfL8SCf GZFmeETzAxRi8AWnm9xwzUsu0jgpjSvfhPBKzrSTQvZh8T7vtbgXAoZBbpfAG7/3L1y3 GGXlpNrRpwBd7vB9UcObn7VMV+sHDbH8feyPxAGAJN4zRqIPYdBXGOH8wCnayK3mW7kv 4tXtygIVuGl57+kQa8OnynB6BA72HUivQ+vmJg5fySBGFAWWzqieRTUAoQ+iQ9pW85Sw KH1wjZTt4gxaWC6M2yoIxaYEA+B9lMtnKwI6Jshq44eFjceEQwL+o3v3n8Zh+/pA6bUi nJ5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=I1va7rdq; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i96si52641plb.188.2019.01.10.04.06.24; Thu, 10 Jan 2019 04:06:40 -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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=I1va7rdq; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728403AbfAJLys (ORCPT + 99 others); Thu, 10 Jan 2019 06:54:48 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:32856 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727860AbfAJLyr (ORCPT ); Thu, 10 Jan 2019 06:54:47 -0500 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=9ii/SwTbzoAw7ZUDADMijsWgJ6Y/Kph6hmRMA8PIEOQ=; b=I1va7rdqO+5d 3FsOApzx3/1q91pST+GMS39jRqdY6wc9qFVgciGZk8AJuL2pVMshv8vLVRVY2l301lNcH1I2DqhnF LDoa6IbLmC4TKAN8xDKnBy5m+NXLnqyp7MJLraRt5Vy0R8tUFlrHptFcsL3G7HxKk7wdfdhyvE0dr DCh/g=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1ghYut-0003Pi-Cy; Thu, 10 Jan 2019 11:54:31 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 092A91127052; Thu, 10 Jan 2019 11:54:26 +0000 (GMT) From: Mark Brown To: Wei Yongjun Cc: Pierre-Louis Bossart , Mark Brown , Pierre-Louis Bossart , Liam Girdwood , Jie Yang , Mark Brown , Hans de Goede , Andy Shevchenko , Vinod Koul , Dan Carpenter , kernel-janitors@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Applied "ASoC: Intel: bytcht_es8316: use correct drvdata in snd_byt_cht_es8316_mc_remove()" to the asoc tree In-Reply-To: <1547084589-40006-1-git-send-email-weiyongjun1@huawei.com> X-Patchwork-Hint: ignore Message-Id: <20190110115426.092A91127052@debutante.sirena.org.uk> Date: Thu, 10 Jan 2019 11:54:26 +0000 (GMT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: Intel: bytcht_es8316: use correct drvdata in snd_byt_cht_es8316_mc_remove() 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 f833fe2056b3a6d69598ef029cede6e77dcc1b14 Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Thu, 10 Jan 2019 01:43:09 +0000 Subject: [PATCH] ASoC: Intel: bytcht_es8316: use correct drvdata in snd_byt_cht_es8316_mc_remove() The snd_byt_cht_es8316_mc_remove() use the platform drvdata as a type of 'struct byt_cht_es8316_private', but snd_byt_cht_es8316_mc_probe() set it to 'struct snd_soc_card', as suggested by Dan Carpenter, fix the usage in snd_byt_cht_es8316_mc_remove(). Fixes: 0d3e91da0750 ("ASoC: Intel: bytcht_es8316: Add external speaker mux support") Signed-off-by: Wei Yongjun Acked-by: Pierre-Louis Bossart Reviewed-by: Hans de Goede Signed-off-by: Mark Brown --- sound/soc/intel/boards/bytcht_es8316.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/boards/bytcht_es8316.c b/sound/soc/intel/boards/bytcht_es8316.c index cdf2061e7613..fa9c4cf97686 100644 --- a/sound/soc/intel/boards/bytcht_es8316.c +++ b/sound/soc/intel/boards/bytcht_es8316.c @@ -544,7 +544,8 @@ static int snd_byt_cht_es8316_mc_probe(struct platform_device *pdev) static int snd_byt_cht_es8316_mc_remove(struct platform_device *pdev) { - struct byt_cht_es8316_private *priv = platform_get_drvdata(pdev); + struct snd_soc_card *card = platform_get_drvdata(pdev); + struct byt_cht_es8316_private *priv = snd_soc_card_get_drvdata(card); gpiod_put(priv->speaker_en_gpio); return 0; -- 2.20.1