]> 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)
commitb9312ca1d600d62346ef2d2e6f4daa9a59908f83
treef03cafaf2722be55a49abb9ba2d29fc663ab9f94
parente1f3bed456e7efd7d6d1b47d54ad635bf3669e75
spi: dw: Make DMA request line assignments explicit for Intel Medfield

The ebe375c3e7a9 ("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