mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git
synced 2026-04-18 06:34:27 -04:00
dmaengine: Replace dma_request_slave_channel() by dma_request_chan()
Replace dma_request_slave_channel() by dma_request_chan() as suggested since the former is deprecated. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20250205145757.889247-2-andriy.shevchenko@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
committed by
Vinod Koul
parent
2014c95afe
commit
31d43141d1
@@ -1639,8 +1639,8 @@ static inline struct dma_chan
|
||||
{
|
||||
struct dma_chan *chan;
|
||||
|
||||
chan = dma_request_slave_channel(dev, name);
|
||||
if (chan)
|
||||
chan = dma_request_chan(dev, name);
|
||||
if (!IS_ERR(chan))
|
||||
return chan;
|
||||
|
||||
if (!fn || !fn_param)
|
||||
|
||||
Reference in New Issue
Block a user