Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dmaengine: shdma: remove legacy slave_id parsing

The slave device is picked through either devicetree or a filter
function, and any remaining out-of-tree drivers would have warned
about this usage since 2015.

Stop interpreting the field finally so it can be removed from
the interface.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20211122222203.4103644-6-arnd@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Arnd Bergmann and committed by
Vinod Koul
37228af8 f59f6aae

-8
-8
drivers/dma/sh/shdma-base.c
··· 787 787 return -EINVAL; 788 788 789 789 /* 790 - * overriding the slave_id through dma_slave_config is deprecated, 791 - * but possibly some out-of-tree drivers still do it. 792 - */ 793 - if (WARN_ON_ONCE(config->slave_id && 794 - config->slave_id != schan->real_slave_id)) 795 - schan->real_slave_id = config->slave_id; 796 - 797 - /* 798 790 * We could lock this, but you shouldn't be configuring the 799 791 * channel, while using it... 800 792 */