dmaengine: xilinx_dpdma: stop using slave_id field
authorArnd Bergmann <arnd@arndb.de>
Mon, 22 Nov 2021 22:22:01 +0000 (23:22 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 17 Dec 2021 05:53:56 +0000 (11:23 +0530)
commit93cdb5b0dc56cc7a8b87a61146495f3bdc93d7ba
tree09025e61bba40b4c9782081ceab6e75820bcdf6e
parent03de6b273805b3c552ff158f8688555937375926
dmaengine: xilinx_dpdma: stop using slave_id field

The display driver wants to pass a custom flag to the DMA engine driver,
which it started doing by using the slave_id field that was traditionally
used for a different purpose.

As there is no longer a correct use for the slave_id field, it should
really be removed, and the remaining users changed over to something
different.

The new mechanism for passing nonstandard settings is using the
.peripheral_config field, so use that to pass a newly defined structure
here, making it clear that this will not work in portable drivers.

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-10-arnd@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dpdma.c
drivers/gpu/drm/xlnx/zynqmp_disp.c
include/linux/dma/xilinx_dpdma.h [new file with mode: 0644]