Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4270593ybp; Mon, 7 Oct 2019 06:04:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqw2xVqV+hDQ692IKraERIb1XHPirhLG9Koo9dEt4hclAd2H6x0jimwaUgvH2smEEm24f9xk X-Received: by 2002:adf:ecc1:: with SMTP id s1mr14408857wro.223.1570453494964; Mon, 07 Oct 2019 06:04:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570453494; cv=none; d=google.com; s=arc-20160816; b=w5ubzIis1nqr7FnZvN80jGHXRCRZaxPKSZ3wNCMb0EVESyxZddEt29XC8F+QOAM/30 9ikNBxJOlMJ1eC7to2RWQSE5yr49/g3l+hLJ0J2G5++8Ig4ts83xH1qdL5YLLccQvbPl Ukxga/fPbxbW3zq9e/NZuiWzJLxXHIg36WYCdPt/pYODU4PakaSF4DN6SMO/IdboRAHe Te5bOqNCJrw4j24xI5jf07rRur93TSCLXFYjBv3pdiaQYIORivtYt3NKreLuHsYEtumd FqTJjFF2SWgUKqN6b7/Li4tdyniyaBtWJcnDe+De8eF1FIC/ioR0YMl7Y/G3nTp1cLt1 7owQ== 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=+GKNSiDM449B7j26Qri6+MHaUubwgCu58aKPDyjCsX4=; b=ec2u+htAIBfAvHNcc14wEu/3g1GFkMT/5WKscCJTXulbSiJyELaM7ExRngD/pM49Qf z4wYcOwUw9GobvKXYEeySKitai5Zl81S9f9AFggtegCzlMTgS+xwq0VXlqp74cYlidYe zwJ28UUwiPCX3zvz7D6oyDL0w6KzJhzj1nFr04xmFlUXnqt7h0/EKhHgLs3M9HuBplt3 gYLQ3DSRlapRYTC0Yx1/HMxFOOsU5WhNyv/OUkFkGWM0cb62keBWuMOZab8qdBFUhr58 aCuY73NLHwbKcyuKXerRj07xr0rus0ffB7mjs3cmjgHES/fuHehRl0YQNY5k3FWXksrU GlFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="vgbv/AXW"; 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 k7si6695504eja.377.2019.10.07.06.04.29; Mon, 07 Oct 2019 06:04:54 -0700 (PDT) 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="vgbv/AXW"; 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 S1728312AbfJGNDq (ORCPT + 99 others); Mon, 7 Oct 2019 09:03:46 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:49968 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728146AbfJGNDo (ORCPT ); Mon, 7 Oct 2019 09:03:44 -0400 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=+GKNSiDM449B7j26Qri6+MHaUubwgCu58aKPDyjCsX4=; b=vgbv/AXWUC0p yKiGRaUI48LhhUO7h6WGJ7Pm3xcSLT7YuynHevPhoX8rnbDFEpIqn5cwH4uVk4VBvJuq7Xv6t8wuf HyRrMhsAdz7x7YihiTs9VFfo5Ryv9kZSe4oj/5drHSbwyHlHAisL3Psb8sPJG4cClbqFdFPHCi5A0 +6+/o=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=ypsilon.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iHSfO-0003Qn-UP; Mon, 07 Oct 2019 13:03:10 +0000 Received: by ypsilon.sirena.org.uk (Postfix, from userid 1000) id EAEBE2741EF0; Mon, 7 Oct 2019 14:03:09 +0100 (BST) From: Mark Brown To: YueHaibing Cc: alsa-devel@alsa-project.org, andradanciu1997@gmail.com, broonie@kernel.org, ckeepax@opensource.cirrus.com, enric.balletbo@collabora.com, Hulk Robot , kuninori.morimoto.gx@renesas.com, ladis@linux-mips.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, Mark Brown , m.felsch@pengutronix.de, mirq-linux@rere.qmqm.pl, paul@crapouillou.net, perex@perex.cz, piotrs@opensource.cirrus.com, rf@opensource.wolfsonmicro.com, shifu0704@thundersoft.com, srinivas.kandagatla@linaro.org, tiwai@suse.com Subject: Applied "ASoc: tas2770: Fix build error without GPIOLIB" to the asoc tree In-Reply-To: <20191006104631.60608-1-yuehaibing@huawei.com> X-Patchwork-Hint: ignore Message-Id: <20191007130309.EAEBE2741EF0@ypsilon.sirena.org.uk> Date: Mon, 7 Oct 2019 14:03:09 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoc: tas2770: Fix build error without GPIOLIB has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.5 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 03fe492e8346d3da59b6eb7ea306d46ebf22e9d5 Mon Sep 17 00:00:00 2001 From: YueHaibing Date: Sun, 6 Oct 2019 18:46:31 +0800 Subject: [PATCH] ASoc: tas2770: Fix build error without GPIOLIB If GPIOLIB is not set, building fails: sound/soc/codecs/tas2770.c: In function tas2770_reset: sound/soc/codecs/tas2770.c:38:3: error: implicit declaration of function gpiod_set_value_cansleep; did you mean gpio_set_value_cansleep? [-Werror=implicit-function-declaration] gpiod_set_value_cansleep(tas2770->reset_gpio, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ gpio_set_value_cansleep sound/soc/codecs/tas2770.c: In function tas2770_i2c_probe: sound/soc/codecs/tas2770.c:749:24: error: implicit declaration of function devm_gpiod_get_optional; did you mean devm_regulator_get_optional? [-Werror=implicit-function-declaration] tas2770->reset_gpio = devm_gpiod_get_optional(tas2770->dev, ^~~~~~~~~~~~~~~~~~~~~~~ devm_regulator_get_optional sound/soc/codecs/tas2770.c:751:13: error: GPIOD_OUT_HIGH undeclared (first use in this function); did you mean GPIOF_INIT_HIGH? GPIOD_OUT_HIGH); ^~~~~~~~~~~~~~ GPIOF_INIT_HIGH Reported-by: Hulk Robot Fixes: 1a476abc723e ("tas2770: add tas2770 smart PA kernel driver") Suggested-by: Ladislav Michl Signed-off-by: YueHaibing Link: https://lore.kernel.org/r/20191006104631.60608-1-yuehaibing@huawei.com Signed-off-by: Mark Brown --- sound/soc/codecs/tas2770.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/tas2770.c b/sound/soc/codecs/tas2770.c index dbbb21fe0548..15f6fcc6d87e 100644 --- a/sound/soc/codecs/tas2770.c +++ b/sound/soc/codecs/tas2770.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include -- 2.20.1