[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZXn4UIkoJeHnAAGW@smile.fi.intel.com>
Date: Wed, 13 Dec 2023 20:30:40 +0200
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: Nikita Shubin <nikita.shubin@...uefel.me>
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 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?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists