[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4b6e64cea850c7db974aac97d71560be4e261b1c.camel@maquefel.me>
Date: Sat, 23 Dec 2023 12:49:59 +0300
From: Nikita Shubin <nikita.shubin@...uefel.me>
To: Andy Shevchenko <andriy.shevchenko@...el.com>
Cc: Vinod Koul <vkoul@...nel.org>, Alexander Sverdlin
<alexander.sverdlin@...il.com>, linux-kernel@...r.kernel.org,
dmaengine@...r.kernel.org, Arnd Bergmann <arnd@...db.de>
Subject: Re: [PATCH v6 40/40] dma: cirrus: remove platform code
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.
Powered by blists - more mailing lists