]> git.baikalelectronics.ru Git - kernel.git/commit
spi: pxa2xx: Reuse int_error_stop() in pxa2xx_spi_slave_abort()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 May 2021 12:41:28 +0000 (15:41 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 11 May 2021 08:35:05 +0000 (09:35 +0100)
commitb64374c62fae480e96ced0500c475128b73a8a97
treed40ac076944c8b9c7c7455a4e477b3401ec1581b
parente86cccd3877c6fb855d9aef95e507b1a5d0bc1ab
spi: pxa2xx: Reuse int_error_stop() in pxa2xx_spi_slave_abort()

It appears that pxa2xx_spi_slave_abort()almost  repeats the functionality
of the int_error_stop(). Reuse int_error_stop() in pxa2xx_spi_slave_abort().

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