Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp536697ybx; Tue, 5 Nov 2019 01:25:56 -0800 (PST) X-Google-Smtp-Source: APXvYqy6Y2QC0zRh9O0hZbGLtZkDuGBW6uKBkJXgkUYyqtVk34O4oY5SZ8xjV/xvUMCxjloCiRoX X-Received: by 2002:aa7:cdd1:: with SMTP id h17mr32537977edw.108.1572945956503; Tue, 05 Nov 2019 01:25:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572945956; cv=none; d=google.com; s=arc-20160816; b=x6LHMLXUNgl4qPkip8RVch1/Dp9yY42R2TiC8OydM5YTo4EiQpQmXhTddNgsP9cDPc rDmIv+4wtL2OmDM8q+cO5A7hHENJLT+amyIHqSZoe3M7BSbiHQILV77B1pyoD/T3PhTh EiFgApK2B2upHveiXZ4mp1106G3/DF91dz4kg/N6uJSB5jwSsULUf63Vr3lwgc3YN6Zy jyHoPUw+1x6m0jqxdp0W9rTHM7WPCaYIqOf0hn6OjZNd04WIGbOw4TQkhmpYotgUG6LE bgYHCG9w2dz6yD+KCFf4hzhxIYFv+kgkQtLo8RWyh5ycUPVdThwn4AqyzuO4SOjPBNJR 5tTg== 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=zT+1Y7p9/KJc9h5D2GRF7qfZtVnGufdHVpBg/W0NqHo=; b=RanSx2duSv5g/aat8rajolyuOSMzucvVH/7XBFAHA0vSQtMTwzfJlqJTFqktxoXWzM wdLN13l2YN1wTflTXoVo5l+LLu40JeonYhj1lei2I063WpcURUeuOSyet1nT5YLfAbfU W2IyuCJOifjJjsZ+1FZuh23NGCUntU5MKHNeQz53lIoQ4kNX+srozpFVVKIYJnlkzBH2 04J6qZVdRxMXCLRf28iIAB4n2RR/rSEKrlQH8QI/92YvSm4P//vVOz8BgfHXhH+BnX01 N/WJkZHcZ/El1MxmUCW7KqLejmWp4N70eSe/9e0kiEhWaSIb9NuSZMBaZarIbtEkNWgK mX6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZwkOtNt5; 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 w2si12913682ejv.227.2019.11.05.01.25.32; Tue, 05 Nov 2019 01:25:56 -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=ZwkOtNt5; 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 S1730698AbfKEJWV (ORCPT + 99 others); Tue, 5 Nov 2019 04:22:21 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:33025 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729996AbfKEJWU (ORCPT ); Tue, 5 Nov 2019 04:22:20 -0500 Received: by mail-lf1-f66.google.com with SMTP id y127so14534703lfc.0 for ; Tue, 05 Nov 2019 01:22:19 -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=zT+1Y7p9/KJc9h5D2GRF7qfZtVnGufdHVpBg/W0NqHo=; b=ZwkOtNt5VUl11C77Q+z56zLs2I+csPAQAsgRQjB47zGyNSCR0Kg6cRabic9UhhWEwA N0Gv7FmAv/516sORohvg4vdXZFunZZarxm8ZdPsc50kbb31tvdjv4Vj6woz+w9YnntMz B0Qdzkx08jMesl1R2NO8wOct84UjT0XGvNHWJGi52lgYp5wjPBFiJ8KiaSDJ4pEXZH2R G05DJFV6PDy7slo60/TCchbTZvPcTuIwKkfMqfsyCPdSMf9a2ETL3CQLbPHez+AyIHdK 3m4lBve1nyb78ScgbOCRuwcW/1kOcpLp8yP81uetBqFoJCgyMdTuJSsHrniPMAgAio+V UALw== 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=zT+1Y7p9/KJc9h5D2GRF7qfZtVnGufdHVpBg/W0NqHo=; b=PIqD3B2BfiP9baeGJlldVNmoBe8duHUX2SevLEFZuNy00NaIaFRsHO8QIqzQAQnPDp Jkdo9yv5BNEoZet1BBhSSkefd2ZInM4aajdmntwVP3sts/33eNnuaAQMNqKP2pFYRP/D DgjQ0kBvdRnHxLZ/nISoBHGSw0Dt+ctyUpnIjnBC1znjRojlR92rIlKhZqadTIkfCaq5 HuLu4Cq8nKyqE58ROD0TojLDtz37nRZ55blEaAPblcD/ri4vPrd1XpT9otfbM0O9H8sg frFb74tW4RC++SDZuydm+12h6K8hlPDlmEOcA/AjxWd+5nSfWJxqEaRrpYOPi9hL9tTg IdRw== X-Gm-Message-State: APjAAAWtqoA1PBI9HUtcH65pMFKoc8SHJKhnJP0wzvABFWtiEHUxmEll 9pEPkO/D1RgMXgRv9FyqzWZREunpdtiAQtnxMzfmm032JKI= X-Received: by 2002:a19:6a0d:: with SMTP id u13mr11068219lfu.86.1572945738652; Tue, 05 Nov 2019 01:22:18 -0800 (PST) MIME-Version: 1.0 References: <20191018154052.1276506-1-arnd@arndb.de> <20191018154201.1276638-23-arnd@arndb.de> In-Reply-To: <20191018154201.1276638-23-arnd@arndb.de> From: Linus Walleij Date: Tue, 5 Nov 2019 10:22:07 +0100 Message-ID: Subject: Re: [PATCH 23/46] ARM: pxa: z2: use gpio lookup for audio device 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:43 PM Arnd Bergmann wrote: > 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 Reviewed-by: Linus Walleij Yours, Linus Walleij