[PATCH] fix GPS resume if powered on previously

Andy Green andy at openmoko.com
Mon Jan 19 10:42:59 CET 2009


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

Somebody in the thread at some point said:

| Fix re-enabling of GPS on resume: the call to gps_pwron_set(0) during
suspend
| would clear power_was_on flag so the on/off status was always lost.

As you predicted neither of these patches will apply after Werner's patch.

What is the value of allowing leaving GPS up in suspend, this is just so
you don't have to wait out the TTFF again?  Is there a particular
scenario someone will select this option?

Also, although it sounds right we should repower GPS on resume if it was
powered before, it will lose state like selection of the binary format
and so on when it recovers.  So it will need some support for this in
userspace somehow.

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

iEYEARECAAYFAkl0SyMACgkQOjLpvpq7dMoYFQCdG8YCDJaxKPLGt19HB3ZL1/HX
XlsAoIioIW7VadXWEL3zR/vDXUq9kcWv
=JHQW
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list