From: Jean-Francois Moine Subject: Re: [PATCH 01/14] dma: sun6i-dma: Add burst case of 4 Date: Tue, 4 Oct 2016 12:40:11 +0200 Message-ID: <20161004124011.d7f5754a082d5f17d5185fc4@free.fr> References: <3a2404510b5f8b16ae3bb193982d70f158700b2b.1475571575.git.mylene.josserand@free-electrons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: <3a2404510b5f8b16ae3bb193982d70f158700b2b.1475571575.git.mylene.josserand@free-electrons.com> Sender: linux-kernel-owner@vger.kernel.org To: =?ISO-8859-1?Q?Myl=E8ne?= Josserand Cc: vinod.koul@intel.com, maxime.ripard@free-electrons.com, wens@csie.org, mturquette@baylibre.com, sboyd@codeaurora.org, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, lee.jones@linaro.org, mark.rutland@arm.com, robh+dt@kernel.org, thomas.petazzoni@free-electrons.com, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, alexandre.belloni@free-electrons.com, dmaengine@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org List-Id: alsa-devel@alsa-project.org On Tue, 4 Oct 2016 11:46:14 +0200 Mylène Josserand wrote: > Add the case of a burst of 4 which is handled by the SoC. > > Signed-off-by: Mylène Josserand > --- > drivers/dma/sun6i-dma.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/dma/sun6i-dma.c b/drivers/dma/sun6i-dma.c > index 8346199..0485204 100644 > --- a/drivers/dma/sun6i-dma.c > +++ b/drivers/dma/sun6i-dma.c > @@ -240,6 +240,8 @@ static inline s8 convert_burst(u32 maxburst) > switch (maxburst) { > case 1: > return 0; > + case 4: > + return 1; > case 8: > return 2; > default: > -- > 2.9.3 This patch has already been rejected by Maxime in the threads http://www.spinics.net/lists/dmaengine/msg08610.html and http://www.spinics.net/lists/dmaengine/msg08719.html I hope you will find the way he wants for this maxburst to be added. -- Ken ar c'hentañ | ** Breizh ha Linux atav! ** Jef | http://moinejf.free.fr/