[PATCH] Do not oops with usb plugged on boot

Holger Freyther zecke at openmoko.org
Mon Jul 7 10:58:52 CEST 2008


the attached patch is fixing an oops on boot. pcf50633_global is not yet set 
when we boot with usb attached and then finding the "struct device" within 
the NULL pointer. I think it is safe to not call into the pcf50633 as we will 
do a "coldplug" anyway.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pcf50633-Avoid-ooops-on-start-with-inserted-usb-ca.patch
Type: text/x-diff
Size: 1611 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20080707/87e78a00/attachment.patch 

More information about the openmoko-kernel mailing list