Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3980414ybg; Mon, 28 Oct 2019 23:52:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwmy7VUB1XhxS63V+ql5EBTdDPzsNB49ugVnhKWIrF4KjmtyxWiBoRu2nOW0XZbX+vwMN3P X-Received: by 2002:a50:cc43:: with SMTP id n3mr24349732edi.287.1572331935216; Mon, 28 Oct 2019 23:52:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572331935; cv=none; d=google.com; s=arc-20160816; b=LIYgRonsMbpUFr6rj6IrlDUpVooE3pEMykIelMpS39jzm3Z1wewdI3UBaPtMBev2tR 7wZ93IBC6S1z6wc6yYg80Kii+Xiv4aYvuMayCQ5AU0BQ0/7Rex9ZmYZAJc0sf6Q31o1t TdCga7DelquTdBVJ9U9NoSjvzVieiMIwyBgLjYHw13T2I1JaVt62AxCwAVmHNGkifFa/ oZ73dKsqo5+Xf2ZKBhBBg7CN6E28lnpVQkF0zDryqmCS0P6RDVNDwZvdKUHdIzS2oAsA HUz3vnaPP4W2A9jfG+Quu9yHNCA7MVBqZVTY9tYTvrCloqJxwCcTan0nXzqUwtOfhP5C kj7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=HMVzp44VJqJ7Go48AWH31L4IWcevTcCPJQhorsFnykc=; b=szfSqhBIzaNhMx6gXqqMJlEo10H9EbxYfAGAVK3zHT8UILYdVnzB+aREUD/A75K4qI hOfyxv2zV3/AobSyqkWDGyGCGiPcH/sJiqRAJCHDTcbmWq52zEAO2P2EpL7Qpy2SRXBE HeHH1Q4YvVufMYzH/7Km52mHDWl7jXVHb0irAk8jIjQ1GPhkqWmt13kNrdrA1ywLhwIi e46wzWGtutMqQOHsL8G0DXu6w1WZyESku/ydpRJ7aAT6d9fbSDJtB27vKc5acCTXPMkV bQJAq6f0gdnAd/LIquKpOfgD10vIg8qDntjUNNngVZ61otLej3FUjRIyv8qG/rYAh0S7 sQFw== 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 a27si9550693edm.187.2019.10.28.23.51.51; Mon, 28 Oct 2019 23:52:15 -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 S1728457AbfJ1VRM (ORCPT + 99 others); Mon, 28 Oct 2019 17:17:12 -0400 Received: from smtp09.smtpout.orange.fr ([80.12.242.131]:23426 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726890AbfJ1VRM (ORCPT ); Mon, 28 Oct 2019 17:17:12 -0400 Received: from belgarion ([90.55.204.252]) by mwinf5d17 with ME id K9H92100A5TFNlm039HAqi; Mon, 28 Oct 2019 22:17:10 +0100 X-ME-Helo: belgarion X-ME-Auth: amFyem1pay5yb2JlcnRAb3JhbmdlLmZy X-ME-Date: Mon, 28 Oct 2019 22:17:10 +0100 X-ME-IP: 90.55.204.252 From: Robert Jarzmik To: Arnd Bergmann Cc: Daniel Mack , Haojian Zhuang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij , Mark Brown , alsa-devel@alsa-project.org Subject: Re: [PATCH 23/46] ARM: pxa: z2: use gpio lookup for audio device References: <20191018154052.1276506-1-arnd@arndb.de> <20191018154201.1276638-23-arnd@arndb.de> X-URL: http://belgarath.falguerolles.org/ Date: Mon, 28 Oct 2019 22:17:07 +0100 In-Reply-To: <20191018154201.1276638-23-arnd@arndb.de> (Arnd Bergmann's message of "Fri, 18 Oct 2019 17:41:38 +0200") Message-ID: <87ftjclgdo.fsf@belgarion.home> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/26 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann writes: > The audio device is allocated by the audio driver, and it uses a gpio > number from the mach/z2.h header file. > > Change it to use a gpio lookup table for the device allocated by the > driver to keep the header file local to the machine. > > Cc: Mark Brown > Cc: alsa-devel@alsa-project.org > Signed-off-by: Arnd Bergmann Acked-by: Robert Jarzmik Cheers. -- Robert