linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] spi: pxa2xx: Update comment in int_transfer_complete()
@ 2016-02-04 10:30 Jarkko Nikula
       [not found] ` <1454581857-12921-1-git-send-email-jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Jarkko Nikula @ 2016-02-04 10:30 UTC (permalink / raw)
  To: linux-spi-u79uwXL29TY76Z2rM5mHXA
  Cc: Mark Brown, Daniel Mack, Haojian Zhuang, Robert Jarzmik,
	Andy Shevchenko, Mika Westerberg, Jarkko Nikula

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-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
---
 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 227e8bad19e6..9b9a528a9fbd 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);
 	reset_sccr1(drv_data);
 	if (!pxa25x_ssp_comp(drv_data))
-- 
2.7.0

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-02-05  7:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-04 10:30 [PATCH 1/2] spi: pxa2xx: Update comment in int_transfer_complete() Jarkko Nikula
     [not found] ` <1454581857-12921-1-git-send-email-jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2016-02-04 10:30   ` [PATCH 2/2] spi: pxa2xx: Fix too early chipselect deassert Jarkko Nikula
     [not found]     ` <1454581857-12921-2-git-send-email-jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2016-02-04 12:16       ` Applied "spi: pxa2xx: Fix too early chipselect deassert" to the spi tree Mark Brown
2016-02-04 21:01       ` [PATCH 2/2] spi: pxa2xx: Fix too early chipselect deassert Robert Jarzmik
     [not found]         ` <874mdo5gwm.fsf-4ty26DBLk+jEm7gnYqmdkQ@public.gmane.org>
2016-02-05  7:38           ` Jarkko Nikula
2016-02-04 12:16   ` Applied "spi: pxa2xx: Update comment in int_transfer_complete()" to the spi tree Mark Brown
2016-02-04 20:49   ` [PATCH 1/2] spi: pxa2xx: Update comment in int_transfer_complete() Robert Jarzmik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).