Re: [PATCH v1 4/4] dmaengine: Unify checks in dma_request_chan()
From: Andy Shevchenko
Date: Tue Oct 08 2024 - 13:17:46 EST
On Mon, Oct 07, 2024 at 12:05:56PM -0400, Frank Li wrote:
> On Mon, Oct 07, 2024 at 06:06:48PM +0300, Andy Shevchenko wrote:
> > Use firmware node and unify checks accordingly in dma_request_chan().
> > As a side effect we get rid of the node dereferencing in struct device.
>
> suggest:
>
> Use dev_fwnode() to simple check logic for device tree and ACPI in
> dma_request_chan().
Sure, thanks!
--
With Best Regards,
Andy Shevchenko