[linux-yocto] [PATCH 13/14] spi: pxa2xx: Update comment in int_transfer_complete()

Weifeng Voon weifeng.voon at intel.com
Thu Jun 16 01:25:50 PDT 2016

From: Jarkko Nikula <jarkko.nikula at linux.intel.com>

The register writes here actually don't stop the SSP but clean and
disable interrupts and set the receive FIFO inactivity timeout to zero.

Signed-off-by: Jarkko Nikula <jarkko.nikula at linux.intel.com>
Signed-off-by: Mark Brown <broonie at kernel.org>
(cherry picked from commit 07550df04712c88717d2ab6578bb36bbd4305e35)
Signed-off-by: Weifeng Voon <weifeng.voon at intel.com>
 drivers/spi/spi-pxa2xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c
index 227e8ba..9b9a528 100644
--- a/drivers/spi/spi-pxa2xx.c
+++ b/drivers/spi/spi-pxa2xx.c
@@ -572,7 +572,7 @@ static void int_error_stop(struct driver_data *drv_data, const char* msg)
 static void int_transfer_complete(struct driver_data *drv_data)
-	/* Stop SSP */
+	/* Clear and disable interrupts */
 	write_SSSR_CS(drv_data, drv_data->clear_sr);
 	if (!pxa25x_ssp_comp(drv_data))

More information about the linux-yocto mailing list