Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755425AbcKCIXV (ORCPT ); Thu, 3 Nov 2016 04:23:21 -0400 Received: from up.free-electrons.com ([163.172.77.33]:58781 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753153AbcKCIXS (ORCPT ); Thu, 3 Nov 2016 04:23:18 -0400 Date: Thu, 3 Nov 2016 09:23:14 +0100 From: Maxime Ripard To: Chen-Yu Tsai Cc: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Rob Herring , Mark Rutland , alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v2 01/14] ASoC: sun4i-codec: Move data structures to add create_card call to quirks Message-ID: <20161103082314.gtrb42pttayndnbc@lukather> References: <20161103075556.29018-1-wens@csie.org> <20161103075556.29018-2-wens@csie.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oby3df2u5a7cmzgr" Content-Disposition: inline In-Reply-To: <20161103075556.29018-2-wens@csie.org> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1894 Lines: 53 --oby3df2u5a7cmzgr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 03, 2016 at 03:55:43PM +0800, Chen-Yu Tsai wrote: > The audio codec on later Allwinner SoCs have a different layout and > audio path compared to the A10/A20. However the PCM parts are still > the same. >=20 > The different layout and audio paths mean we need a different > create_card function for different families, so they can create > DAPM endpoint widgets and routes. >=20 > This patch moves the regmap configs, quirks and of_device_id > structures to just before the probe function, so we can, among other > things, include a pointer for the create_card function. None of the > lines of code were changed. >=20 > Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard Thanks! Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --oby3df2u5a7cmzgr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJYGvPtAAoJEBx+YmzsjxAgE/wP/ibUXLXbSrCOlIwQRSwnROBg Nwzecd+yYYBTjagds5iqfwhw/XBQSKhwPX5DSnICYWGekNTuBxH6ZQE3+71f/1Qb dysRpUPAb/aZouUj6q2VbWYeTmxC3MNv3sPfxEaBJ5V12PgaUo6ywH7GCq1g8/PD eWF6xZhqAqhFA3Cwdcz/mEbVHad0bGP+5l3pHwX+yyt3um+lKKegoK6gEbqGGlam TjO16ZSZCoVnriUoFrrP7FBkcicoFgx19arajXnO5HR4NO3yCLSeyQQp/kXgVhua yEWjm+xEv5RijHf2YIBjdIO4Nr9tt7fb4QtF7EacmawqNXdbdtBuh5YfcsmqO0xp gg42YGXDXpBy0fYN6IuMs4SqO03OABmgNAB6J0HbapoHt7iSE7SKKq2dC7stCQd2 HN1UYD0YuutcpqydtvV912+rGpD+O3EIGV9m0RPCgsid3Z3wwaYpxFUC0o4QhU1j pT9PzF7Psc7n2JYFORWCquoo3afOnadnP93tOOowfYnyvdS5ojyGGsMenL8WdJSu EzhxWxCHgIBkL2WMVd/3sJpjpaoRuco7o8Auq003uC27oNIBtwcCYAOa9FSw/YT4 dwhY/4t+ZFNlR2EnelAiI7vrWVMcAGDLN8HyZvo6xF/tXnw8tUhPxa07NfQ1I9Jg 2Yqw6YvrPxg7a0LkcpLj =75DO -----END PGP SIGNATURE----- --oby3df2u5a7cmzgr--