[MinnowBoard] Crash with SPI and general load
Martin Oldfield
elinux-mbmx-2014-11 at mjoldfield.com
Mon Jan 5 14:32:42 UTC 2015
In case anyone else encounters this problem, Mika Westerberg diagnosed the
problem and provided me with a patch. In the fullness of time, I expect it
will appear in the normal kernel.
Here's the patch:
diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c
index d8a105f76837..3720d84f266b 100644
— a/drivers/spi/spi-pxa2xx.c
+++ b/drivers/spi/spi-pxa2xx.c
@@ -402,8 +402,8 @@ static void giveback(struct driver_data *drv_data)
cs_deassert(drv_data);
}
- spi_finalize_current_message(drv_data->master);
drv_data->cur_chip = NULL;
+ spi_finalize_current_message(drv_data->master);
}
static void reset_sccr1(struct driver_data *drv_data)
--
View this message in context: http://minnowboard.57273.x6.nabble.com/Crash-with-SPI-and-general-load-tp786p908.html
Sent from the MinnowBoard mailing list archive at Nabble.com.
More information about the elinux-MinnowBoard
mailing list