]> git.baikalelectronics.ru Git - kernel.git/commit
spi: Save current RX and TX DMA devices
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Tue, 27 Sep 2022 11:21:14 +0000 (13:21 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 28 Sep 2022 11:54:04 +0000 (12:54 +0100)
commit2a0efd4241dffb5a0d82aef06443904f9c55d898
treeb606ad0b54f60fe4356b1ed0fe373a320d491e74
parent02bee121767e5c3ff422b545e0efe41a738ab263
spi: Save current RX and TX DMA devices

Save the current RX and TX DMA devices to avoid having to duplicate the
logic to pick them, since we'll need access to them in some more
functions to fix a bug in the cache handling.

Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Link: https://lore.kernel.org/r/20220927112117.77599-2-vincent.whitchurch@axis.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c
include/linux/spi/spi.h