[PATCH] Do not oops with usb plugged on boot

Andy Green andy at openmoko.com
Tue Jul 8 19:39:19 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| Hey,
|
| 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.

Thanks, never saw that in the wild but your fix is needed alright.  Sent
this and the spinlock one into stable and andy.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkhzpkcACgkQOjLpvpq7dMpquACfZiN/AMrnSapcIOCQ004MNgx9
FkcAnA7etz55jkYYVEv2NewkeGVte/7Q
=p7wZ
-----END PGP SIGNATURE-----




More information about the openmoko-kernel mailing list