Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6507419ybi; Wed, 29 May 2019 08:48:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqypPQXGXSaQJANo0AQ3o/iIzz3fTleH7OmPVljSpr+C9AJGnHoOXESmt3FEZLdY9nlhcjRG X-Received: by 2002:a63:1a5e:: with SMTP id a30mr41657610pgm.433.1559144907522; Wed, 29 May 2019 08:48:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559144907; cv=none; d=google.com; s=arc-20160816; b=GpFQiOqqX1c5cY0U4hYolqjuEP0DpPlM/DR8u0qYSjWSLv5cOdcijGuNruKQjBI2zt TuUe/9m19NVuNGnog4YN4ZPOtgPm8sHNXU5zydcmW7ZAVqcYbWFThRpN0P20Sn/kSYTr zoTg3cV384r3z2MaH7lmvHZXP+7dYmED2rK4OfMt6ZwIr+L1Z0HFpIhhAmTH3zg6bmuL BTs0rcnNP/KyrLAciv0eEkgmmej0wOzcKYlpUyISfyGfRKj3s7qYkKVRp3jgvpcd8zRZ P+8EmGMw2UH65OUTV7I7tQfbO4kmSbOfF0+d9w2ckh7pT4ju+E6P8XltOhOi9Cd0iKhM Qm/Q== 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=MbU9KTY7lRDIVaXn8e0mtzlZsMKjQlL1HDMtTrGcWVU=; b=SSt25tZXrK5JotVMtpO1JKUu9FkeA7NHyN+30JzS2AWwdB4KPtv0YbrYCRXbyaij79 pS/s3YJqyrT+VZwq0NQugJA1O2M/0bGtHdC5+MpppuN+FKZ2bH4EHV0twsAXDVpim46X laqSzKdKLIwuhseWQHt8/swS3Hp2Fqy0XOA9HKVoajMRR0nE2umgwfas4pgqQrm2t7ya rF25KF1tNEUSiN0yQSBcFEqSnphEt++Wa4GhD0bH1VdeCs437qoanwhh6nudmgLMwt++ CKoTc4tvWrkKsZbRo6nx3j0UPSIv32fJtW0XTZW/1pFgjEMDzQgZb4PEv3ze3rO42v1U WE3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=RpxO9O0f; 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 j4si27225204pfr.59.2019.05.29.08.48.11; Wed, 29 May 2019 08:48:27 -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=RpxO9O0f; 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 S1727049AbfE2Ppv (ORCPT + 99 others); Wed, 29 May 2019 11:45:51 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:42018 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726062AbfE2Ppv (ORCPT ); Wed, 29 May 2019 11:45:51 -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=MbU9KTY7lRDIVaXn8e0mtzlZsMKjQlL1HDMtTrGcWVU=; b=RpxO9O0fZlZc SlD3qDONZ4mfn9y7+lab4VuQdISTMB2Fh66MCYFDjfDo48bOHj4vzbfJF8uZEA5c+adurrrwii8cx ozEhbLsRiGTKQhUHyuXzi4CgrzUalLqria5uKMVljkwNG9f1HNaBiHkQZKuLJT/TAJWfErdISVyac q544U=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=finisterre.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hW0lh-00051h-5v; Wed, 29 May 2019 15:45:33 +0000 Received: by finisterre.sirena.org.uk (Postfix, from userid 1000) id 8B003440049; Wed, 29 May 2019 16:45:27 +0100 (BST) From: Mark Brown To: Shengjiu Wang Cc: alsa-devel@alsa-project.org, brian.austin@cirrus.com, broonie@kernel.org, kbuild test robot , lgirdwood@gmail.com, linux-kernel@vger.kernel.org, Mark Brown , Paul.Handrigan@cirrus.com, perex@perex.cz, tiwai@suse.com Subject: Applied "ASoC: cs42xx8: Fix build error with CONFIG_GPIOLIB is not set" to the asoc tree In-Reply-To: <20190529033002.16606-1-shengjiu.wang@nxp.com> X-Patchwork-Hint: ignore Message-Id: <20190529154527.8B003440049@finisterre.sirena.org.uk> Date: Wed, 29 May 2019 16:45:27 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: cs42xx8: Fix build error with CONFIG_GPIOLIB is not set has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3 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 7cda6223503d592f980a222811355ab07611b821 Mon Sep 17 00:00:00 2001 From: Shengjiu Wang Date: Wed, 29 May 2019 11:30:02 +0800 Subject: [PATCH] ASoC: cs42xx8: Fix build error with CONFIG_GPIOLIB is not set MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit config: x86_64-randconfig-x000201921-201921 compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: make ARCH=x86_64 sound/soc/codecs/cs42xx8.c: In function ‘cs42xx8_probe’: sound/soc/codecs/cs42xx8.c:472:25: error: implicit declaration of function ‘devm_gpiod_get_optional’; did you mean ‘devm_clk_get_optional’? [-Werror=implicit-function-declaration] cs42xx8->gpiod_reset = devm_gpiod_get_optional(dev, "reset", ^~~~~~~~~~~~~~~~~~~~~~~ devm_clk_get_optional sound/soc/codecs/cs42xx8.c:473:8: error: ‘GPIOD_OUT_HIGH’ undeclared (first use in this function); did you mean ‘GPIOF_INIT_HIGH’? GPIOD_OUT_HIGH); ^~~~~~~~~~~~~~ GPIOF_INIT_HIGH sound/soc/codecs/cs42xx8.c:473:8: note: each undeclared identifier is reported only once for each function it appears in sound/soc/codecs/cs42xx8.c:477:2: error: implicit declaration of function ‘gpiod_set_value_cansleep’; did you mean ‘gpio_set_value_cansleep’? [-Werror=implicit-function-declaration] gpiod_set_value_cansleep(cs42xx8->gpiod_reset, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ gpio_set_value_cansleep Fixes: bfe95dfa4dac ("ASoC: cs42xx8: Add reset gpio handling") Reported-by: kbuild test robot Signed-off-by: Shengjiu Wang Signed-off-by: Mark Brown --- sound/soc/codecs/cs42xx8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/cs42xx8.c b/sound/soc/codecs/cs42xx8.c index b377cddaf2e6..6203f54d9f25 100644 --- a/sound/soc/codecs/cs42xx8.c +++ b/sound/soc/codecs/cs42xx8.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include #include -- 2.20.1