projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee03672
)
spi: pxa2xx: Update comment in int_transfer_complete()
author
Jarkko Nikula
<jarkko.nikula@linux.intel.com>
Thu, 4 Feb 2016 10:30:56 +0000
(12:30 +0200)
committer
Mark Brown
<broonie@kernel.org>
Thu, 4 Feb 2016 10:48:09 +0000
(10:48 +0000)
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>
drivers/spi/spi-pxa2xx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-pxa2xx.c
b/drivers/spi/spi-pxa2xx.c
index 227e8bad19e69573d16ec5ee67801250ec8d6f00..9b9a528a9fbd0eb84789c3416d90aa509bafb762 100644
(file)
--- 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))