[PATCH v3 2/5] dmaengine: sun6i: Add 4 as a possible burst value for the H3

Jean-Francois Moine moinejf at free.fr
Mon Mar 21 01:35:33 PDT 2016


On Mon, 21 Mar 2016 08:29:18 +0100
Maxime Ripard <maxime.ripard at free-electrons.com> wrote:

> > @@ -470,6 +473,10 @@ static int set_config(struct sun6i_dma_dev *sdev,
> >  {
> >  	s8 src_width, dst_width, src_burst, dst_burst;
> >  
> > +	if (!sdev->cfg->burst_4 &&
> > +	    (sconfig->src_maxburst == 4 || sconfig->dst_maxburst == 4))
> > +		return -EINVAL;
> > +
> 
> I still believe this should be dealt with at the framework level.

What do you mean? In the DMA clients?

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/



More information about the linux-arm-kernel mailing list