OSDN Git Service

spi: pxa2xx: Reset DMA bits in CR1 in reset_sccr1()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 19 Jul 2021 07:48:41 +0000 (10:48 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 19 Jul 2021 11:58:53 +0000 (12:58 +0100)
commitcdcb26ce747a5ec665a98fd6c303248a12418140
tree51f3a0622b360b73ea8cb55753f2efc60b34933b
parente0a6512d29126901dd16dfede314616b57ec8210
spi: pxa2xx: Reset DMA bits in CR1 in reset_sccr1()

In order to allow reset_sccr1() to be reused in DMA paths,
reset DMA bits in CR1 in this function.

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