From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55825C5DF60 for ; Thu, 7 Nov 2019 11:26:58 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CC657218AE for ; Thu, 7 Nov 2019 11:26:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="pIB9+D5w"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="aR0m+nKj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CC657218AE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 0A3D51695; Thu, 7 Nov 2019 12:26:06 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0A3D51695 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1573126016; bh=OP5zt1f9sgUC4mJOL3Zx/qsKCZeYiUGZSIs89eBK3+c=; h=References:In-Reply-To:From:Date:To:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=pIB9+D5w3/P672UJGPAAyBZNtG99iz3iqc9cbtvYG6gMoqWUIhbK8YEoYqECOahvw j9aYWSxe4C0nqRqsYDrJithaI6Yjy7iwjH61BiKzn33IFXrTFpt9VcfgTfWXA+jgWc QSFKzm7H3eu5Kv38V29wdG4lRPo7NaZfy65+aVYE= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 937DFF805FF; Thu, 7 Nov 2019 12:24:26 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5E8C2F8049B; Thu, 7 Nov 2019 09:20:30 +0100 (CET) Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CEBC0F800F3 for ; Thu, 7 Nov 2019 09:20:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CEBC0F800F3 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="aR0m+nKj" Received: by mail-lj1-x241.google.com with SMTP id k15so1232499lja.3 for ; Thu, 07 Nov 2019 00:20:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DlF4imC2yuisAQo2SgUCy1P9SylqUN75hyqh76y3GuU=; b=aR0m+nKjgA8feFlTBlwL84cE9daL5eeq25n5+TiO9llQb9TsmGAwBzMrydUeOVpqcd G/NOnRqUmqV9FDnFABUvFStxGmc4lYiT1CO71XxvWX8QHiG+QuYeULshpCobKFsWAsYm tdhQ8t6991g/IUrvBhXPOW8BhPBS86zZJGQOc82tWlYl1GOQvr9MTGWvpPLFiIeR9lEr foMt76rS4g+F3J5BvZ1hmIknazOLP6jdC15sbiF4dtMlHzvLlDlwdEVWxYVkVYDLBy/H 2YD/40djhB6z1791duVFLnjNJBICD/pXuSn9Wyozo1Bsi0Bqg8js/iowtRmXORd7WJzi n1iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DlF4imC2yuisAQo2SgUCy1P9SylqUN75hyqh76y3GuU=; b=q/ZLOrDzWN5eZkI/329ZHFB1BkAUg7OBTlY0vlwcGH8McZgGwCvvO+7RdNs42I8C67 fH8utaIyCcXScR86QIKgEcC0LGFXZOjql0N4yXcWbx446J4V0dHZ9kWqLiyvxcR5BY6s n0qLyTDk7jUJw8DUbPlrxSTo1/73xF53eHlBMtJFzgybq05bkAywreevq0aKTKuzFPXE oCubrQAt8nbfgx90Y6RciuhL1g0eMZErDoONoWyp+vIrDIgCAloBPHXzT6j+92rANS/D BeL9v2JtAGZugkO4hqiQkiXCPix/hpl2slAe/RKVqL8QojeobB5KdRhrEXd1P9KXFY7K d0tA== X-Gm-Message-State: APjAAAUdXfDQZ2rOsSHpy+iz95AVeIE5A35nJkQFMZ50SOXyDhxO+iEI ydWTI6U7ren7XRyMQHw/rcQfb4fEKCxRdPMIYsDFhQ== X-Google-Smtp-Source: APXvYqxJbhcWq+G1f8Jk5lv3i720/gVAo6L3L+y4Wi2RhTUP1I1SjMgB/XswEKoQSm7d2gl5jZMd4ClfaG2HxTvfJoQ= X-Received: by 2002:a05:651c:1202:: with SMTP id i2mr1417186lja.218.1573114826673; Thu, 07 Nov 2019 00:20:26 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Linus Walleij Date: Thu, 7 Nov 2019 09:20:15 +0100 Message-ID: To: Matti Vaittinen X-Mailman-Approved-At: Thu, 07 Nov 2019 12:24:22 +0100 Cc: Kuppuswamy Sathyanarayanan , linux-aspeed , David Daney , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , Peter Tyser , Thierry Reding , Alexandre Torgue , Jonathan Hunter , Fabio Estevam , linux-stm32@st-md-mailman.stormreply.com, Marek Vasut , Florian Fainelli , Kevin Hilman , Michal Simek , Marek Behun , Bartosz Golaszewski , Ludovic Desroches , bcm-kernel-feedback-list , Joel Stanley , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Bamvor Jian Zhang , NXP Linux Team , linux-pwm@vger.kernel.org, Grygorii Strashko , Charles Keepax , Maxime Coquelin , Linux-OMAP , Matti Vaittinen , Ray Jui , Sascha Hauer , William Breathitt Gray , "open list:GPIO SUBSYSTEM" , Richard Fitzgerald , Santosh Shilimkar , linux-tegra@vger.kernel.org, Andy Shevchenko , Linux ARM , Scott Branden , Masahiro Yamada , Andrew Jeffery , "Enrico Weigelt, metux IT consult" , "linux-kernel@vger.kernel.org" , Linux-Renesas , Thorsten Scherer , Pengutronix Kernel Team , patches@opensource.cirrus.com, Shawn Guo Subject: Re: [alsa-devel] [PATCH v2 1/2] gpio: Add definition for GPIO direction X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Wed, Nov 6, 2019 at 9:51 AM Matti Vaittinen wrote: > At least for me it is difficult to remember the meaning of GPIO > direction values. Define GPIO_LINE_DIRECTION_IN and > GPIO_LINE_DIRECTION_OUT so that occasional GPIO contributors would > not need to always check the meaning of hard coded values 1 and 0. > > Signed-off-by: Matti Vaittinen Patch applied. Yours, Linus Walleij _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel