[PATCH] Power on the GPS module only if it was on before

Holger Freyther zecke at openmoko.org
Wed Apr 9 01:54:33 CEST 2008

On Wednesday 09 April 2008 00:33:11 Werner Almesberger wrote:
> Holger Freyther wrote:
> >     I wonder why the suspend and resume code is not using gps_pwron_set
> Couldn't think of any good reason.
> > for the GTA02 we need to keep the state of the GPIOs, this should be done
> >     by the s3c code.
> Which GPIOs ?

Good question, let us forget that part. The code to play with GPH4 and GPH5 in 
the suspend/resume methods look sane and needs to stay there.

> Nice indentation fix in gps_pwron_set :-)

Hehe, from reading the code I think it was just wrongly indented (which is 
better than forgetting the braces).

More information about the openmoko-kernel mailing list