]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dmaengine: Unify checks in dma_request_chan()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 5 Feb 2025 14:57:12 +0000 (16:57 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 10 Feb 2025 10:58:53 +0000 (16:28 +0530)
commit91d8560c15918c7d44e4f665fac829ba8057a2f3
tree69beb02d75cb1c26ce2a3b35b1fd8d8a4aca711f
parent1722fb4a1307748f983c1345c4c24178d8e0be47
dmaengine: Unify checks in dma_request_chan()

Use dev_fwnode() to simplify the check logic for Device Tree and ACPI
in dma_request_chan().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250205145757.889247-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dmaengine.c