Skip to content

Commit

Permalink
spi: pxa2xx: Update comment in int_transfer_complete()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jarkko Nikula authored and Mark Brown committed Feb 4, 2016
1 parent ee03672 commit 07550df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/spi-pxa2xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 07550df

Please sign in to comment.