Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3592459ybg; Mon, 28 Oct 2019 15:32:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1xs6GW8YKGEBNHcLJWfPVE+LtyPx159HUltdQfC13Xh89MJNBqLMMz+4s28ZoWgk/2Gl+ X-Received: by 2002:a17:906:2d68:: with SMTP id f8mr202368eji.71.1572301937868; Mon, 28 Oct 2019 15:32:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572301937; cv=none; d=google.com; s=arc-20160816; b=riFZoNGztB6VxxwzAudfCzq+qG/Dufmx/avOU5+kKFpmSmUN8cohK+n3Hqju4UhCF6 0xLNFSHtmGMhyJagPH0fNwJTJCP7pFIJtdTeQn23c/fhwS0yv6egDzHOmQuBt2Lj0083 /fIa1YYceGMUfBlwpcbfXXpPC59zq+N5+8khk0weB1GzJf/3hfkN4PvU4smsmHVWjxjv JUMhuSVzP4v//fZYEZpN7q8/GmoZSPZGYMc/Bpte4Znk0NtkamZ65ij2ZjDpGbqkiDgz KsP8+X7kZvMDDk2bDlgsODFS7MUvS59pa8qxPGq49FF3XSnXzkozCzSDshcCMgwgJQHj wPNA== 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=8Q9juWeuLjf1EsmFSfTFp/rIRvHxtkQWx9XlUeoue/k=; b=ADCTz3/j6BBXA+LIvGl5+4e/+MHvtNqFvYbK3dUnGhuxNhMiWwFtkbrg3KgQsMTWh5 P3fDM9UMsfftzyD+CT67Yka94/WTIvHSEYJyB1wlmVzCsoZi9t1C6AS1zYMeBmCLD7Dv fuT26gdrKvg4isoAmiobkysMSvd2TMhZJdCUpRNTBWV0Woho6wNe+o+ZcPdCRacLBrFi eltsgyf9IDhP1osb+r7mxuviuoFvU4dHNJuhW/OgIfGT5Z6uOXaCOmoM7Igv+Z3M7TWk W2iRNQLo7DNN3Ivrko0zeL4t2NsGuYgrkPoHPtPb7/YydF4+FN3nwXPzDnOgVd6Zr4zr AG3w== 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 t8si6651659edd.373.2019.10.28.15.31.55; Mon, 28 Oct 2019 15:32:17 -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 S2388354AbfJ1UxN (ORCPT + 99 others); Mon, 28 Oct 2019 16:53:13 -0400 Received: from smtp09.smtpout.orange.fr ([80.12.242.131]:26952 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725867AbfJ1UxN (ORCPT ); Mon, 28 Oct 2019 16:53:13 -0400 Received: from belgarion ([90.55.204.252]) by mwinf5d17 with ME id K8tA2100f5TFNlm038tB4x; Mon, 28 Oct 2019 21:53:11 +0100 X-ME-Helo: belgarion X-ME-Auth: amFyem1pay5yb2JlcnRAb3JhbmdlLmZy X-ME-Date: Mon, 28 Oct 2019 21:53:11 +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 17/46] ARM: pxa: poodle: use platform data for poodle asoc driver References: <20191018154052.1276506-1-arnd@arndb.de> <20191018154201.1276638-17-arnd@arndb.de> X-URL: http://belgarath.falguerolles.org/ Date: Mon, 28 Oct 2019 21:53:10 +0100 In-Reply-To: <20191018154201.1276638-17-arnd@arndb.de> (Arnd Bergmann's message of "Fri, 18 Oct 2019 17:41:32 +0200") Message-ID: <875zk8mw21.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 poodle audio driver shows its age by using a custom > gpio api for the "locomo" support chip. > > In a perfect world, this would get converted to use gpiolib > and a gpio lookup table. > > As the world is not perfect, just pass all the required data > in a custom platform_data structure. to avoid the globally > visible mach/poodle.h header. > > Cc: Mark Brown > Cc: alsa-devel@alsa-project.org > Signed-off-by: Arnd Bergmann Acked-by: Robert Jarzmik Cheers. -- Robert