[PATCH] fix-usb-gadget-udc-not-provoking-curlim-action.patch
Andy Green
andy at openmoko.com
Mon Dec 1 13:11:06 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Somebody in the thread at some point said:
| @@ -557,8 +557,9 @@ static void gta02_charger_worker(struct
work_struct *work)
| static void gta02_pmu_event_callback(struct pcf50633 *pcf, int irq)
| {
| if (irq == PCF50633_IRQ_USBINS) {
| - schedule_delayed_work(>a02_charger_work,
| - GTA02_CHARGER_CONFIGURE_TIMEOUT);
| + if (!gta02_usb_vbus_draw)
| + schedule_delayed_work(>a02_charger_work,
| + GTA02_CHARGER_CONFIGURE_TIMEOUT);
if (!gta02_usb_vbus_draw) looks a bit funny, does it work out OK?
- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkkz1FUACgkQOjLpvpq7dMoVJgCfUM5g7p5gidp/khJ5z/ZXHrmV
nqkAn06L3HTe+KgrLpXG4H9KhTJBO032
=6pjF
-----END PGP SIGNATURE-----
More information about the openmoko-kernel
mailing list