WSOD on device
trimarchi at gandalf.sssup.it
Fri Mar 20 18:32:50 CET 2009
Author: Nicolas Dufresne <nicolas.dufresne at gmail.com>
Date: Mon Mar 2 10:45:59 2009 +0000
Fixed corruption of LCM registers
Some registers where not set properly, or at the right time (thanks
for his patch).
Weak locking could lead to corruption when using sysfs to switch
multiple threads or processes. The state transitions are now all atomic.
The driver attribute 'last_state' was used for same purpose of
Kept only 'normal_state' and used it in 'init_regs' instead of
This patch should fix bug #2235.
Signed-off-by: Nicolas Dufresne <nicolas.dufresne at gmail.com>
My freerunner during resume go in WSOD and remain in that state forever,
can you explain
me better these changes?
- /* hard reset the jbt6k74 */
- (jbt6k74_pdata->reset)(0, 0);
- (jbt6k74_pdata->reset)(0, 1);
- rc = jbt_reg_write_nodata(jbt, 0x01);
- if (rc < 0)
- dev_err(&spi->dev, "cannot soft reset\n");
You cut this code too, I don't understand all the change because I don't
now how device work. I have this problem and I must revert this patch
for my device to
work properly. I will try to understand what part is wrong.
More information about the openmoko-kernel