diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2016-02-04 05:30:56 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-02-04 05:48:09 -0500 |
commit | 07550df04712c88717d2ab6578bb36bbd4305e35 (patch) | |
tree | 5b61efeddc42fbde971743686d7c33d88f886d25 /drivers/spi | |
parent | ee03672d961bdac2ac1e593e9c29b0d3b7320409 (diff) |
spi: pxa2xx: Update comment in int_transfer_complete()
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@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-pxa2xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
572 | 572 | ||
573 | static void int_transfer_complete(struct driver_data *drv_data) | 573 | static void int_transfer_complete(struct driver_data *drv_data) |
574 | { | 574 | { |
575 | /* Stop SSP */ | 575 | /* Clear and disable interrupts */ |
576 | write_SSSR_CS(drv_data, drv_data->clear_sr); | 576 | write_SSSR_CS(drv_data, drv_data->clear_sr); |
577 | reset_sccr1(drv_data); | 577 | reset_sccr1(drv_data); |
578 | if (!pxa25x_ssp_comp(drv_data)) | 578 | if (!pxa25x_ssp_comp(drv_data)) |