Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5880259ybp; Tue, 8 Oct 2019 09:36:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqxArgXrQTJvgLMdb9IdN5peBUdoNSXNPU+m8ujXKqmaPo6g6Af8m7sNReUcKhcoV9lrXDRr X-Received: by 2002:a17:906:c82d:: with SMTP id dd13mr28845075ejb.169.1570552568108; Tue, 08 Oct 2019 09:36:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570552568; cv=none; d=google.com; s=arc-20160816; b=GgbBYEjedmi7QW5PQYLQ60ppGsgxaQFzKTtVt6SL9Yj+BWPGn5xO9clx2zq6yr+7fZ 5jQMtOKWYoXJjlQ9jgez1GolVpSXAx0mojq6zpInt5UTwwCJ7vrYOZaKxDdNshITWPgi sh0zAfxMIKw1qnDNmszfkCRt2FAJRv3FKOC9E0qwF5jGTPDROCL0TLIhQKknD5UfGi5y ejOk+IOCXOZpmi661t+maw4REo0zi6lnTsGv0I94CLgRcA8kXXJI46WM12/CNvwN8dkh Et3g5S44UBDX3UL/Fxo34qXK9+xfG9eDEgyJ6ixuVLJvXl1NdYMnKQd92VVDVkQDN9w+ mdyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=yZ+XnN4r6haZwfB8Ndhc2g2v6gWzDnRw3id9f36BghQ=; b=GbBsJW0Ib3+dRfA2KcAD71IEYdeuocKRwxCRu0htZ+HAoApDcu6k8kYAQWYDR1Aimj QNpbhXQrWHTmE18AW/DbV9e74Cb4V/kywKR1hSYJpAG5G59IvN5VK1HauCgs6PuWD+BU mrRhRi+y1Lew2Uq6Ru77lep9+oZvKYcLaY+Oh+4j/S7ecmLWNCSypWptYO9B43y0NP7U k88WayATHjKksYwGjpyfBO/miyW+Jm2sxY2B+fdIRv9sX9+4Wyb6t48pEXtZIQPE0xZV WBh5kAM/trklt+63Qdhpkpr83bP41FcDlJg2sJ1QI+jiFgCAUMEEc5XLe4DVxgvIquS4 AaZQ== ARC-Authentication-Results: i=1; mx.google.com; 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 qn13si9082712ejb.114.2019.10.08.09.35.44; Tue, 08 Oct 2019 09:36:08 -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; 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 S1728561AbfJHQfO (ORCPT + 99 others); Tue, 8 Oct 2019 12:35:14 -0400 Received: from eddie.linux-mips.org ([148.251.95.138]:52102 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726320AbfJHQfN (ORCPT ); Tue, 8 Oct 2019 12:35:13 -0400 Received: (from localhost user: 'ladis' uid#1021 fake: STDIN (ladis@eddie.linux-mips.org)) by eddie.linux-mips.org id S23991911AbfJHQfJd4fX3 (ORCPT ); Tue, 8 Oct 2019 18:35:09 +0200 Date: Tue, 8 Oct 2019 18:35:08 +0200 From: Ladislav Michl To: Mark Brown Cc: YueHaibing , m.felsch@pengutronix.de, alsa-devel@alsa-project.org, ckeepax@opensource.cirrus.com, kuninori.morimoto.gx@renesas.com, linux-kernel@vger.kernel.org, piotrs@opensource.cirrus.com, andradanciu1997@gmail.com, lgirdwood@gmail.com, paul@crapouillou.net, Hulk Robot , shifu0704@thundersoft.com, enric.balletbo@collabora.com, srinivas.kandagatla@linaro.org, tiwai@suse.com, mirq-linux@rere.qmqm.pl, rf@opensource.wolfsonmicro.com Subject: Re: [alsa-devel] Applied "ASoc: tas2770: Fix build error without GPIOLIB" to the asoc tree Message-ID: <20191008163508.GA16283@lenoch> References: <20191006104631.60608-1-yuehaibing@huawei.com> <20191007130309.EAEBE2741EF0@ypsilon.sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191007130309.EAEBE2741EF0@ypsilon.sirena.org.uk> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi YueHaibing & Mark, On Mon, Oct 07, 2019 at 02:03:09PM +0100, Mark Brown wrote: > 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 Hmm, too late it seems... Patch should actually remove as this is legacy one (see comment on the top and also Documentation/driver-api/gpio/consumer.rst) And that brings a question. Given this is -next only is it actually possible to squash fixes into 1a476abc723e ("tas2770: add tas2770 smart PA kernel driver") just to make bisect a bit more happy? l. > 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 > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > https://mailman.alsa-project.org/mailman/listinfo/alsa-devel