Re: [PATCH v6 40/40] dma: cirrus: remove platform code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2023-12-13 at 20:30 +0200, Andy Shevchenko wrote:
> On Tue, Dec 12, 2023 at 11:20:57AM +0300, Nikita Shubin wrote:
> > Remove DMA platform header, from now on we use device tree for dma
> 
> DMA
> 
> > clients.
> 
> ...
> 
> > +static inline bool ep93xx_dma_chan_is_m2p(struct dma_chan *chan)
> > +{
> > +       if (device_is_compatible(chan->device->dev, "cirrus,ep9301-
> > dma-m2p"))
> > +               return true;
> > +
> > +       return !strcmp(dev_name(chan->device->dev), "ep93xx-dma-
> > m2p");
> > +}
> 
> Hmm... Isn't the same as new helper in a header in another patch?
> 

Indeed it's internal now. Move here from platform header.





[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux