Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5180462ybi; Tue, 4 Jun 2019 02:35:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxSMiZ1zwEjMv8rddoYo5RtX2F8dncF8QWvhCHJjnZaDQSLmNKXflxslGTQPowenA7D6ErD X-Received: by 2002:a63:1b1e:: with SMTP id b30mr33458656pgb.180.1559640939687; Tue, 04 Jun 2019 02:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559640939; cv=none; d=google.com; s=arc-20160816; b=oK5j/abgTWL+ybm0ZNuiivvEoSojJPl1u0x3T8BRNFZzO6/xDyFVgW4OeDjQ8JaiSb KqpbxcDxlpWhkLomOA8m4OXvxAX6mSW0ijh/FHn4sej3gLCRrBvrcXUPR+CKgWfWex0e E62H+r+4bCmr4dbe4xD31Bm7XXk6E7iuGo4zZIiuN8oHCagUtf5Qax+hyhfgBv3u68fA P6ZQt9V4ia7ghOhI22am96umxBLLP+kNrNEgb8Fk4eshucXsewBIuHFQbO0TNBiCyZqT nN5eWNGnEIYZKQNM0Lj3KlQOdxqtxYWEcLesH2q+HUDVJjpIBKw8pbJfCnrA77gsdqBx g03Q== 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=wRCxsdtOibuHWniTvRjkJuYuUvyqKwna7YBc0m5IVcc=; b=DFpFywC9othtU4f9nM7ATKbAJMtmN//BAU2xUQ/iG/A7yVKSunU3z6531kpPyY5QzG Z5f73AlEsmHXHOEPaV6a4eJ8qMQL71I5kiKWv/tuYpa7fulznkIXHnYFXQy7LINCPs/j CG+1AYVjRzqL5nmqluovgTReG8GcSmpmQN1JDPiPK0qYFhcZoXTmX/ddjyD16yF0NrLA rCtXLdHqT0u0uPnfv+mPOVNeUczFMaiEsnCIDtZBwcSGR6f/np8rLFSxRmrXp+2SSv8i YOonNsvADUFe7THIw3gD9HtBBUZ/MB1BT2gEj3fR3EtbvBFTROFJBvK31Pff1pFCcLrB mLmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UHwD7GKH; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k193si22664666pgc.473.2019.06.04.02.35.21; Tue, 04 Jun 2019 02:35:39 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UHwD7GKH; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727161AbfFDJdZ (ORCPT + 99 others); Tue, 4 Jun 2019 05:33:25 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:43633 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726918AbfFDJdZ (ORCPT ); Tue, 4 Jun 2019 05:33:25 -0400 Received: by mail-lj1-f193.google.com with SMTP id 16so5403983ljv.10 for ; Tue, 04 Jun 2019 02:33:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wRCxsdtOibuHWniTvRjkJuYuUvyqKwna7YBc0m5IVcc=; b=UHwD7GKHxC3C5X5dgPpu/iqjCdsjNVRqtDVIZyaKoba6XS4suf7QIjYuluxqRmsabz /na8yIjIbRR2VvAEiYtFN4sFn2ubGUcjRtDDs6b44BFKKv89nR86UO2jGy52hnPvfx46 4oVE59EdezY5g7xj2cuElXA0cXOdc0U1RSgws5SO6hKWeHFnhl4IlWzvnRokLndGSJ4k NWW+1Bn/BReSoBJcimTTt5B0bJ4a6DfEBAcMaJgJFwLOb8BnoUq+c0EJKkGLdxiCGm9y MkjmrHA1bXauhHh4cdgwY30/0XNzTZLLILPyPoGvN6NW67TjMLDAHmxJp9A0E7iZN4R+ Hz1w== 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=wRCxsdtOibuHWniTvRjkJuYuUvyqKwna7YBc0m5IVcc=; b=i9UE2Jp3nWwgj4DdbJs5D5kyxs8Abo2qRpAni2mebkoqdR4ai615EKPqoIe3OUFAu1 iy44ZGQJydQWJpOYfQA0EiD3WkC2nZA16MgbOpYP9/9CffYxGixB4f4SiBc2uczYpyaR 7i58ncyTBSP9E4zWUeJATrzXIAabpcY+7NEweIlTlBALCKJKFJwSXBtdWKPp5+t1Qt4F d+2Cx/dcxOSw/Z5kpkbF1PPFA6d6ZQkdYfa3Irnpz/VqJENtQxboQcZGDdgf8cvDlvSo WAiiM75to1XvmEYdxEuJr4SjIQa+eqwHMIVHYc8R1SELEDfUfBLQbFTxjARVn7YG9e7q qUhg== X-Gm-Message-State: APjAAAWwIo88FFu9KJQvIovKicysh5XL5Belr0z7eeYJoL9tCP7D/8Qe YCszAniyzLjJHrtW+IQfUtYUQbNtnpFtEnM4Zlc= X-Received: by 2002:a2e:9255:: with SMTP id v21mr9392465ljg.178.1559640803528; Tue, 04 Jun 2019 02:33:23 -0700 (PDT) MIME-Version: 1.0 References: <20190603174735.21002-1-codekipper@gmail.com> <20190603174735.21002-5-codekipper@gmail.com> <20190604074632.tby6r57vjehb4jne@flea> In-Reply-To: <20190604074632.tby6r57vjehb4jne@flea> From: Code Kipper Date: Tue, 4 Jun 2019 11:33:12 +0200 Message-ID: Subject: Re: [PATCH v4 4/9] ASoC: sun4i-i2s: Reduce quirks for sun8i-h3 To: Maxime Ripard Cc: Chen-Yu Tsai , linux-sunxi , linux-arm-kernel , Liam Girdwood , Mark Brown , linux-kernel , Linux-ALSA , "Andrea Venturi (pers)" 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 Tue, 4 Jun 2019 at 09:46, Maxime Ripard wrote: > > 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. Hi Maxime, let's sync with what you're doing as you're more lightly to see it through to delivery! I was trying to clean up the driver as some of this seemed a bit unnecessary, hooks sounds like the way forward, CK > > Maxime > > -- > Maxime Ripard, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com