]> git.baikalelectronics.ru Git - kernel.git/commit
spi: dw: Refactor mid_spi_dma_setup() to separate DMA and IRQ config
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 29 May 2020 18:31:50 +0000 (21:31 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 29 May 2020 19:04:04 +0000 (20:04 +0100)
commit2ddbf336544895c1a7d6eafe6767dade1b090b42
tree858ee5df1e7e69b483c3444c15540c406d111245
parent7c1fc4f9274e4c36bb2c58c3324df6a3f98610eb
spi: dw: Refactor mid_spi_dma_setup() to separate DMA and IRQ config

It's better to understand what bits are set for DMA and for IRQ handling
in mid_spi_dma_setup() if they are grouped accordingly. Thus,
refactor mid_spi_dma_setup() to separate DMA and IRQ configuration.

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