spi: pxa2xx: Reuse int_stop_and_reset() in couple of places

Reuse int_stop_and_reset() in couple of places.

While at it, change the order of the int_stop_and_reset() and pxa2xx_spi_off()
to be in align with the similar flow in int_error_stop().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210719074842.36060-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Andy Shevchenko 2021-07-19 10:48:42 +03:00 • committed by Mark Brown
commit 3bbdc08326
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0