[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170918080855.yxxfcfg2yttpyi5y@flea.lan>
Date: Mon, 18 Sep 2017 10:08:55 +0200
From: Maxime Ripard <maxime.ripard@...e-electrons.com>
To: Stefan Brüns <stefan.bruens@...h-aachen.de>
Cc: linux-sunxi@...glegroups.com, devicetree@...r.kernel.org,
dmaengine@...r.kernel.org, Vinod Koul <vinod.koul@...el.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Chen-Yu Tsai <wens@...e.org>, Rob Herring <robh+dt@...nel.org>,
Code Kipper <codekipper@...il.com>,
Andre Przywara <andre.przywara@....com>
Subject: Re: [PATCH v2 03/10] dmaengine: sun6i: Restructure code to allow
extension for new SoCs
On Sun, Sep 17, 2017 at 05:19:49AM +0200, Stefan Brüns wrote:
> The current code mixes three distinct operations when transforming
> the slave config to register settings:
>
> 1. special handling of DMA_SLAVE_BUSWIDTH_UNDEFINED, maxburst == 0
> 2. range checking
> 3. conversion of raw to register values
>
> As the range checks depend on the specific SoC, move these out of the
> conversion to distinct operations.
>
> Signed-off-by: Stefan Brüns <stefan.bruens@...h-aachen.de>
Acked-by: Maxime Ripard <maxime.ripard@...e-electrons.com>
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)
Powered by blists - more mailing lists