From patchwork Mon Nov 27 18:52:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 119770 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp2099652edl; Mon, 27 Nov 2017 10:53:36 -0800 (PST) X-Google-Smtp-Source: AGs4zMbCZRERu1JFVE1LrkPngFgtxLXTTF29pwZPtHD5j86QoC/ESCEExJy3HmXfhoGKeHy89GbW X-Received: by 10.223.148.69 with SMTP id 63mr1094928wrq.89.1511808816526; Mon, 27 Nov 2017 10:53:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511808816; cv=none; d=google.com; s=arc-20160816; b=zBVeD9td6EiIjNbd8yrd9Uk+HZYjcYojmrXPkqUU3i9sshvo9uYYqP8ywp1hOmKSit NpQDvQgGbeedYQoWH8E0LPP2O50FSZAYCtC42EAiKiDdBLkuQDtpBUF+89ZhbHseEVY6 KwjB6jOZ1Bn4AfimxhoRNKMV1+i+yXLC6itSRSReboW2bjjnB7zGfJOMxN44oEzf762/ brenfYx7eBhtZf1bkU1eOeYhutPJ0ssOUOnixs+Le9CDOR4Fv3G//qHW5tHCoNGFh5zb F/aXtwoYSazqOGKR0ip5gcYkJ/fVIrLN5Uvx0MAgJMnYne07/nwTEuHAW6ZuyhFDQ3tp yWsQ== 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=8tYQhGO/FXpx8e0WjreBGfvj+QdXmWLrJZONvDNvTNs=; b=VFg2GkVJRSANe7V5iKx1FIUjhtoUOl9p7/IQL1s13GRsi47DKIDx9sw0drlc0A8iwo kIpkhhw89NNdmFB0ZBcM9AO8evCFcqm0Hx1M7oNSz5tnye/SNnVQ4jylck2SgO7G2wP9 UbGRBUB/Vcx/SVH/k16KgN6zp/q8P/5ZQY8tNNNmQwrYglXDD4bxjWWxTxlzyZl8nwgX e7D/88nYqUrY23r0G5jZICK1HRA9pVVWisGgxuNd6dqc9/FTGNZesEeeXYL/XmO5QRYg LFFojQB0ecMY2GmV+DllHR4qgq71l6dLDvQG8i6m4R9Pz5gHI0V52KgFofho8O0u8X9m 76+w== 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=GV7oqkXH; 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 s127si11475643wmf.89.2017.11.27.10.53.36; Mon, 27 Nov 2017 10:53:36 -0800 (PST) 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=GV7oqkXH; 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 45DF4267590; Mon, 27 Nov 2017 19:52:14 +0100 (CET) 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 06D5D267587; Mon, 27 Nov 2017 19:52:12 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.0 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 10B67267567 for ; Mon, 27 Nov 2017 19:52:08 +0100 (CET) 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=gjbMaDUEv7aLFXHP6sis0Oo7P79K01JyodUEnOAY6BY=; b=GV7oqkXHZ8kY /ayNrhPxAGHOvQ81euI085NuC2GCzINLe9My06ZaW1CfoBmRTHo1HZDX5F+85/zTr9GNC59O1cRt8 C4WQf69KUg969Uj5blABFjrSk/qT7DnWcbk6ux5vuK15LluIn9idUGF4BidpBiN5iAlU3Qg2xRY0n 15JU4=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1eJOVh-0006zZ-S4; Mon, 27 Nov 2017 18:52:05 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1eJOVh-0006rl-Ew; Mon, 27 Nov 2017 18:52:05 +0000 From: Mark Brown To: Kuninori Morimoto In-Reply-To: <87a82fm0zs.wl%kuninori.morimoto.gx@renesas.com> Message-Id: Date: Mon, 27 Nov 2017 18:52:05 +0000 Cc: alsa-devel@alsa-project.org, Mark Brown , Lars-Peter Subject: [alsa-devel] Applied "ASoC: don't use codec hw_write on max98926" 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: don't use codec hw_write on max98926 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 866b9c81ad8450eb1e2a0132b4bd9fd909afd647 Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Thu, 9 Nov 2017 01:04:54 +0000 Subject: [PATCH] ASoC: don't use codec hw_write on max98926 max98926 driver is using codec hw_write/control_data, but it is redundant code. This patch cleanup these Signed-off-by: Kuninori Morimoto Signed-off-by: Mark Brown --- sound/soc/codecs/max98926.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.15.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/codecs/max98926.c b/sound/soc/codecs/max98926.c index 03d07bf4d942..7b1d1b0fa879 100644 --- a/sound/soc/codecs/max98926.c +++ b/sound/soc/codecs/max98926.c @@ -490,7 +490,7 @@ static int max98926_probe(struct snd_soc_codec *codec) struct max98926_priv *max98926 = snd_soc_codec_get_drvdata(codec); max98926->codec = codec; - codec->control_data = max98926->regmap; + /* Hi-Z all the slots */ regmap_write(max98926->regmap, MAX98926_DOUT_HIZ_CFG4, 0xF0); return 0;