]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: remove slave_id config field
authorArnd Bergmann <arnd@arndb.de>
Mon, 22 Nov 2021 22:22:03 +0000 (23:22 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 17 Dec 2021 05:53:56 +0000 (11:23 +0530)
commitc29879ea512d6fb5494b07b42d6035063de99cd3
tree69a4e1af0ef53ccd8460aca000756477fd9a4d01
parentd397973dcaa51ab400912491f5376653cd2f202e
dmaengine: remove slave_id config field

All references to the slave_id field have been removed, so remove the
field as well to prevent new references from creeping in again.

Originally this allowed slave DMA drivers to configure which device
is accessed with the dmaengine_slave_config() call, but this was
inconsistent, as the same information is also passed while requesting
a channel, and never changes in practice.

In modern kernels, the device is always selected when requesting
the channel, so the .slave_id field is no longer useful.

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-12-arnd@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
include/linux/dmaengine.h