]> git.baikalelectronics.ru Git - kernel.git/commit
spi: dw: Make DMA request line assignments explicit for Intel Medfield
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 29 May 2020 18:31:49 +0000 (21:31 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 29 May 2020 19:04:04 +0000 (20:04 +0100)
commit7c1fc4f9274e4c36bb2c58c3324df6a3f98610eb
treef03cafaf2722be55a49abb9ba2d29fc663ab9f94
parentca0ae59b0b297180d3e53540c7f827974ec1ebab
spi: dw: Make DMA request line assignments explicit for Intel Medfield

The 9beb96ec6c18 ("spi: dw: Discard static DW DMA slave structures")
did a clean up of global variables, which is fine, but messed up with
the carefully provided information in the custom DMA slave structures.
There reader can find an assignment of the DMA request lines in use.

Partially revert the above mentioned commit to restore readability
and maintainability of the code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200529183150.44149-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-dma.c