#4479 HIGH Update.: DCON corruption during suspend/resume
Zarro Boogs per Child
bugtracker at laptop.org
Fri Nov 2 08:00:48 EDT 2007
#4479: DCON corruption during suspend/resume
---------------------+------------------------------------------------------
Reporter: wad | Owner: dilinger
Type: defect | Status: new
Priority: high | Milestone: Update.1
Component: kernel | Version:
Resolution: | Keywords: DCON
Verified: 0 |
---------------------+------------------------------------------------------
Comment(by wad):
But you SHOULD be reinitializing the DCON in the resume path, if we fail
to communicate with it and power cycle it.
We powered the chip down at line 131 cause it wouldn't talk to us, set
is_powered_down to one in line 133, then jump back to the beginning of the
dcon_bus_stabilize() function where we now power the chip back up --- but
forget to re-initialize it. Since nothing outside dcon_bus_stabilize()
knows that we've power cycled the chip, nothing else will re-initialize
its registers.
No I didn't reinitialize all the registers by hand to test this. It was
too glaring a code error and Richard couldn't get i2cset or sdtools up and
running on the affected laptop.
--
Ticket URL: <http://dev.laptop.org/ticket/4479#comment:12>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list