From patchwork Thu May 31 11:06:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 137366 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp6450390lji; Thu, 31 May 2018 04:07:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKSAbij490X/ZS2d5Q+OKzjD8kMkwzAl3jC0hW/H6o0Fx5wOxVYvImrP8q75KU0SWvdzVRA X-Received: by 2002:adf:8f70:: with SMTP id p103-v6mr5300609wrb.181.1527764833337; Thu, 31 May 2018 04:07:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527764833; cv=none; d=google.com; s=arc-20160816; b=q3waIQRfkCDUA41Svq9KRiEbiAsAQC3aPwASHxsAzy4c7Q39Qos46VKM7RdL+rzVM+ /QgRkLsGymmE3s7dfHIHq52xkguqaRxoCOZaRvw1bbdHWC9RaiWbywGhIVdUf1IFuLx1 1GjBvDJPaWiRkmykIJF+vDIPPdtBqKrbyiXvkzcmhC1y7sU1O4nmjjF0pTbPyfGB97Wb yWSCW5kuFiPXvpy/DUv/N6vhS5rEtOTd9LXGmNWHVVj9g3//9Mo0GBDCzC2nrZ6jQ+To 9AXBsDH0NA330mvRurI47RjCQbVnyzl9HM6VuDidZzAqNC0Z8pg6wHQqTQ8JIC+fBpHi 2x2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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=E+C8fzbkarCeNesm5bllLI0VCawI46bf/WlWHLHuPs4=; b=XJz/B67miktGZJPISBrbVDPNrigfsIrZULUdzNLMerzFU5qkSA3OZuOI1SaPsdLDHt HvrfYXo21iiTdgVqbkdqieJaSupNJapyWrEVuQJl5cHEMzROC6rOhvN3E4tLElWV2q/0 z/Llz+ZHnYQ7CvoJ7lvCdjMOcboKCmtHHpc6w0YknnafkngC1m4j4/kv7CwR2V46+eJ0 0XjjGAMInBr3RFWG6aZ0raga+ZHa9UijCBdgLJTCWUn/6gejZAOpA1BMEIz5Y6/KZzND j9LDt49ZEPZ6vgj2+Orrtut7VeJWRRxcMiuYh1brDHkf8zDCMWc/qs7r/sRtTLmyNSKW aS8Q== 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=R0Vn+x9E; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id w4-v6si10894390wrn.76.2018.05.31.04.07.13; Thu, 31 May 2018 04:07:13 -0700 (PDT) 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=R0Vn+x9E; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id D8155267906; Thu, 31 May 2018 13:06:48 +0200 (CEST) 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 28FAB267909; Thu, 31 May 2018 13:06:47 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_PASS 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 6FA1A267923 for ; Thu, 31 May 2018 13:06:43 +0200 (CEST) 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=e67gfB/ZhNtq8KWK6tZ7kDFgDDPiIR0ZPkWSDSajWbU=; b=R0Vn+x9ENocZ dl9ovSrW/35VvXAJXNLUwrqG0ivDqtcAValYRL0UCCGsDsXSuP2gNFGD5dW+0COoi3dPbE7CTPWKN P2CaFaUNjS0lJPDlPcWpNBGJqTwtyJunYXSs7JhHu5Smtmw7jQSe0hstlXIYS8jJpu85zCeTknF86 cqotU=; 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 1fOLPh-0000BR-2Q; Thu, 31 May 2018 11:06:37 +0000 Received: from broonie by debutante with local (Exim 4.91) (envelope-from ) id 1fOLPg-00020r-K9; Thu, 31 May 2018 12:06:36 +0100 From: Mark Brown To: Arnd Bergmann In-Reply-To: Message-Id: Date: Thu, 31 May 2018 12:06:36 +0100 Cc: alsa-devel@alsa-project.org, kbuild test robot , Liam Girdwood , LKML , Mark Brown , Andrew Morton , =?utf-8?q?Myl=C3=A8ne_Josserand?= Subject: [alsa-devel] Applied "ASoC: codecs: PCM1789: include gpio/consumer.h" 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: codecs: PCM1789: include gpio/consumer.h 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 3217004ad97fdae6663e8e75c443d8e616cb7fd0 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Wed, 30 May 2018 23:53:45 +0200 Subject: [PATCH] ASoC: codecs: PCM1789: include gpio/consumer.h When CONFIG_GPIOLIB is disabled, this codec fails to build because gpio/consumer.h is not included implicitly. sound/soc/codecs/pcm1789.c: In function 'pcm1789_common_init': sound/soc/codecs/pcm1789.c:247:19: error: implicit declaration of function 'devm_gpiod_get_optional'; did you mean 'devm_gpio_request_one'? [-Werror=implicit-function-declaration] pcm1789->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); ^~~~~~~~~~~~~~~~~~~~~~~ Fixes: 4ae340d1be36 ("ASoC: codecs: Add support for PCM1789") Signed-off-by: Arnd Bergmann Signed-off-by: Mark Brown --- sound/soc/codecs/pcm1789.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.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/pcm1789.c b/sound/soc/codecs/pcm1789.c index 507ac9412d6c..21f15219b3ad 100644 --- a/sound/soc/codecs/pcm1789.c +++ b/sound/soc/codecs/pcm1789.c @@ -3,7 +3,7 @@ // Copyright (C) 2018 Bootlin // Mylène Josserand -#include +#include #include #include