Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5091340ybi; Tue, 4 Jun 2019 00:47:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7MluxQkK08VmZVwug/v6HgZ8Yc4UyD3WUDugIdveFTBqHIi1NAVDetAQzyMYOdXCWIZzt X-Received: by 2002:a17:902:7615:: with SMTP id k21mr32928054pll.253.1559634479246; Tue, 04 Jun 2019 00:47:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559634479; cv=none; d=google.com; s=arc-20160816; b=t+AF6WRKZyGMWdr0PnsKsxSnc6RdRHLUGhe3mkIAjhYqWd4dqfHuXZnKWc47sifN0l MQAVctovVMb1gK8H4KkGCosq5JXhdLiCky1kpo3ogCVvJgnt/hTzJ5xhr+jtE+qzcS6w H3GLeqDGQzjqpu1QYCgWWUds902SyrY/NyihQPpmYSXR8aivTx++itexVBDR93yRDRzW L73NCvrTOBpi9EW7wabIFgHMrxAYBou4a6e/JospzLK4IOmbpDT8D08iTq6GM6dJCOuY zDoOR+gmFWX4A64ULlH4qccW5uwhTFnFXrfHdmPUDp0s4uY67qIng5bx5smb6wcJJrgF vRYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=vHCqDMkNfbTG+JIaMYx20d6ghTaId3IIapJAIvy5lHw=; b=UHxKxD7HY5z4bxoGeSsfUfACWQtMSjEmxaqGQ9Atumgrx6wa+BJ5AcX/rccXvLqDiW EFcBCV0CSu+PpY4rE2K3NAhqmo32GaJFl91N/WsctejhvhO20E3RX3WzNsi9dJsvi/S5 U3SWY8PW5IMymkd1PdGxDV23VH6xQqV8VIY8Lm2dxkhfm+lrFupcg7KJ4A8VdFbWUOux RA7lIg1fZ7Z15lLq4WPp6S1dJ0rZ0dDuQm6rNltrmg4aSBfNaPBBpT5W1Q+ife5J1thP bCpVVR8w9qwe1t0t2JCjJBeh4BaZgqMN1curzIKzgJovUrr9Haguf9ECJJj4xAdqv1kj Q+1A== 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 a3si22052626pff.117.2019.06.04.00.47.42; Tue, 04 Jun 2019 00:47:59 -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 S1726818AbfFDHqh (ORCPT + 99 others); Tue, 4 Jun 2019 03:46:37 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:49895 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726637AbfFDHqg (ORCPT ); Tue, 4 Jun 2019 03:46:36 -0400 X-Originating-IP: 90.88.144.139 Received: from localhost (aaubervilliers-681-1-24-139.w90-88.abo.wanadoo.fr [90.88.144.139]) (Authenticated sender: maxime.ripard@bootlin.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 4D2541BF203; Tue, 4 Jun 2019 07:46:33 +0000 (UTC) Date: Tue, 4 Jun 2019 09:46:32 +0200 From: Maxime Ripard To: codekipper@gmail.com Cc: wens@csie.org, linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org, lgirdwood@gmail.com, broonie@kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, be17068@iperbole.bo.it Subject: Re: [PATCH v4 4/9] ASoC: sun4i-i2s: Reduce quirks for sun8i-h3 Message-ID: <20190604074632.tby6r57vjehb4jne@flea> References: <20190603174735.21002-1-codekipper@gmail.com> <20190603174735.21002-5-codekipper@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7jshcfboaepnhnot" Content-Disposition: inline In-Reply-To: <20190603174735.21002-5-codekipper@gmail.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --7jshcfboaepnhnot Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jun 03, 2019 at 07:47:30PM +0200, codekipper@gmail.com wrote: > From: Marcus Cooper > > We have a number of flags used to identify the functionality > of the IP block found on the sun8i-h3 and later devices. As it > is only neccessary to identify this new block then replace > these flags with just one. > > Signed-off-by: Marcus Cooper This carries exactly the same meaning than the compatible, so this is entirely redundant. The more I think of it, the more I fell like we should have function pointers instead, and have hooks to deal with these kind of things. I've been working a lot on that driver recently, and there's some many parameters and regmap_fields that it becomes pretty hard to work on. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --7jshcfboaepnhnot Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXPYh2AAKCRDj7w1vZxhR xaKlAQD09oK9E3ZBJRJxBZlg7egPOYq9H1Wo09ND2ytEbNrr1QD+MC6qd8dznfXK puvwjUoowAllTkmYM3ex11Z+Gejg0A4= =YpYf -----END PGP SIGNATURE----- --7jshcfboaepnhnot--