Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp534351ybx; Tue, 5 Nov 2019 01:23:12 -0800 (PST) X-Google-Smtp-Source: APXvYqyLnYsUHwdiAO+z+FzPmPpFcLs3S3lImin9F7C8e55HVZbqG5THsmQaYfmeBa+tkLJyEaok X-Received: by 2002:aa7:cd0d:: with SMTP id b13mr35216787edw.146.1572945792537; Tue, 05 Nov 2019 01:23:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572945792; cv=none; d=google.com; s=arc-20160816; b=eO/fY2DSMT316iWt8t9AZg20b4figoE8HQ2NDuGJaptirLIzOOqHL0Ge7txtz8tFXa jM7dtWpoC32LgUTao43fLAbvRgj50zqQ14xIur//+qXNO9Tw/JgPXE8P7t0KJevtppCi G4Z3w1DhMEc53NZ9U7rbAX9NxMmKw7Do/jRk/Rx3PcE39DcLNjN74Uoi5k/Zzcwmfjzv KRHbdV+iZlYpIqgUCvJPRiJ9xXgK+e1HQaDYf6bD1RvE9Yzof/K+iL+apxSdDITL4dxm Pnk0nCQIm3yAzkaTNTbXhOPvYXFW8MTtwfeuDP7zHIWStxnXTM7ugzS4i/TEWyX/mImY 5eTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=U/CqzVlG8zZAxxKu0vX1NdhVqqh2p9Uh91d/oE5bEMc=; b=mzt5IZNaE/0BKvwMzTsfxY1kM6XivAwHBuwbXfkWqOty5lXoK7ePtHExAAIOK8EhVE jyhYayBGd6jsSgrkIUz6dgIAtynthykbLP9pQAQcVa6x966kGoStn4FWyrd+itgsf5j4 soU7f2qQMVW9IDPDFKQirVOsluPPZOztAd4ayO1vPxtRvRQfMlIlp6OXDWyElFYdXomM 38AAY1Dgi7i9YQy1VKNj9W1PxN+DZWp/py9jQU6OXUyJaiFkyUcMSBfRhOkQ0IgcOghZ y0o1M/IVslju6LpYkTszQXfOLicSqBZgP7qRtw3fOGSTLEjIVb4BgygcFWS06nQLBbOj YL6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="cB/L6dgy"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q17si12962029ejm.165.2019.11.05.01.22.48; Tue, 05 Nov 2019 01:23:12 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b="cB/L6dgy"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730666AbfKEJVn (ORCPT + 99 others); Tue, 5 Nov 2019 04:21:43 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:36771 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729996AbfKEJVn (ORCPT ); Tue, 5 Nov 2019 04:21:43 -0500 Received: by mail-lj1-f196.google.com with SMTP id k15so8822447lja.3 for ; Tue, 05 Nov 2019 01:21:41 -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=U/CqzVlG8zZAxxKu0vX1NdhVqqh2p9Uh91d/oE5bEMc=; b=cB/L6dgy3oPjI3dV+qGMCvc4MOdB5pQERdwKy0ik6L9roaBW6UIyW2VEtSjvxT9yC5 sn48tazf1Tx/XEX0UzchEkwheBAraWYqFdbbBVS/CQQWWsmqt0Zi0mECdk9PRbeLD3gw 3PIs8WRvvJqRv4HAbYDqEkLcsHOfv7rJfVS5txO6KwIqN+rbja0ui/iLe3v3a0BH1IQY qnBmhU7rltn+IcsBboFu3T3puSPhwhyu/knnR7iAEvpqoGXcc4EPkZe54WJ+GTNGvypy NxYDE4Ox6omwzjNIQbrC7ZIGduIYLK2eG6n4vsDSUabJpjE9MLcFvS+U5K88rcs0DD2i yDSw== 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=U/CqzVlG8zZAxxKu0vX1NdhVqqh2p9Uh91d/oE5bEMc=; b=NHavk4PxSycnmKs9/1wXwmTS/jYccjGcLSO5LOo8hIncfmGLuXp6/CPROMGjFdEgrg sKBGbmTQtbdhbuFcyBKhl6koypX63QxHwCLQ/wHC4511ErwyAhXUP8g0yBSGL0V0K4NE mU+VN9gaW9VOYcN4ePiZxtAJr8H28lx0wHxdw6pcUczo1c3NvjwEV+KPmkFDiuDBLesK scrPxBnRyfWr6/aaSa8evelwFXj+u8n5VpHclIcLl72gZ8ugYTm1pNcejL79w+zgRqzS 1AKh3ldXsEp+ip6MVA4N6lzMlvWo1QrEdprBZLfXeohk62TQJD+NY4xHxfxDYbNWim4D k+pw== X-Gm-Message-State: APjAAAWiyeTeDVQjLUxXrCZ4om3jJC2CRykRR4ReAGWKY8DELfPgcvcd ONIMxy/bh37oqDJBR4imXZyTV0kDsEOp3UzQ6QqQ7g== X-Received: by 2002:a2e:5c46:: with SMTP id q67mr21359472ljb.42.1572945700516; Tue, 05 Nov 2019 01:21:40 -0800 (PST) MIME-Version: 1.0 References: <20191018154052.1276506-1-arnd@arndb.de> <20191018154201.1276638-22-arnd@arndb.de> In-Reply-To: <20191018154201.1276638-22-arnd@arndb.de> From: Linus Walleij Date: Tue, 5 Nov 2019 10:21:29 +0100 Message-ID: Subject: Re: [PATCH 22/46] ARM: pxa: eseries: use gpio lookup for audio To: Arnd Bergmann Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Linux ARM , "linux-kernel@vger.kernel.org" , Mark Brown , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 18, 2019 at 5:42 PM Arnd Bergmann wrote: > The three eseries machines have very similar drivers for audio, all > using the mach/eseries-gpio.h header for finding the gpio numbers. > > Change these to use gpio descriptors to avoid the header file > dependency. > > I convert the _OFF gpio numbers into GPIO_ACTIVE_LOW ones for > consistency here. > > Cc: Mark Brown > Cc: alsa-devel@alsa-project.org > Signed-off-by: Arnd Bergmann This is consistent with the way I imagine it should be done so: Reviewed-by: Linus Walleij Yours, Linus Walleij