]> git.baikalelectronics.ru Git - kernel.git/commit
spi: pic32: stop setting dma_config->slave_id
authorArnd Bergmann <arnd@arndb.de>
Mon, 22 Nov 2021 22:21:55 +0000 (23:21 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 17 Dec 2021 05:53:56 +0000 (11:23 +0530)
commita27ec2f7fb9e2eb1bed45b2a242c15721aea76f0
treef252b542eb9eff9ac51a4145c584b03af65f257b
parent6be7e0f1455b40292f0ae5d59babda00951de575
spi: pic32: stop setting dma_config->slave_id

Setting slave_id makes no sense with DT based probing, and
should eventually get removed entirely. Address this driver
by no longer setting the field here.

I could not find which DMA driver is used on PIC32, if it's
in the tree at all, but none of the obvious ones even care
about slave_id any more.

Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20211122222203.4103644-4-arnd@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/spi/spi-pic32.c