RE: [PATCH] fsl/fman: remove unnecessary set_dma_ops() call and HAS_DMA dependency

From: Madalin-cristian Bucur
Date: Fri Mar 23 2018 - 05:51:59 EST


> -----Original Message-----
> From: David Miller [mailto:davem@xxxxxxxxxxxxx]
> Sent: Thursday, March 22, 2018 8:32 PM
> To: Madalin-cristian Bucur <madalin.bucur@xxxxxxx>
> Cc: geert.uytterhoeven@xxxxxxxxx; netdev@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH] fsl/fman: remove unnecessary set_dma_ops() call and
> HAS_DMA dependency
>
> From: Madalin Bucur <madalin.bucur@xxxxxxx>
> Date: Wed, 21 Mar 2018 03:58:19 -0500
>
> > The platform device is no longer used for DMA mapping so the
> > (questionable) setting of the DMA ops done here is no longer
> > needed. Removing it together with the HAS_DMA dependency that
> > it required.
> >
> > Signed-off-by: Madalin Bucur <madalin.bucur@xxxxxxx>
>
> This doesn't apply to any of my trees.

Sorry, it's caused by a patch in my tree that adds ARM 32b support, resulting in differences
in the context:

- depends on FSL_SOC || ARCH_LAYERSCAPE || COMPILE_TEST
+ depends on ARM || ARCH_LAYERSCAPE || FSL_SOC || COMPILE_TEST

I'll send a v2 based on a clean tree.

Madalin