Openmoko Bug #2293: linux/andy-tracking: gps does not always honor power_on
Openmoko Public Trac
bugs at docs.openmoko.org
Fri Jun 5 09:26:14 CEST 2009
#2293: linux/andy-tracking: gps does not always honor power_on
-----------------------------+----------------------------------------------
Reporter: lindi | Owner: openmoko-kernel
Type: defect | Status: new
Priority: normal | Milestone:
Component: System Software | Version: unspecified
Severity: normal | Keywords: kernel gps power_on
Haspatch: 0 | Blockedby:
Estimated: | Patchreview:
Blocking: | Reproducible: always
-----------------------------+----------------------------------------------
Comment(by PaulFertser):
Lindi, afaict the intent of power_was_on is to keep information about
power state during suspend (while GPS is actually unpowered). So
power_was_on is correct here but ps_pwron_set should be able to power on
the GPS regardless of its state (special care should be taken to not
enable regulator twice, because regulators include reference counting).
Sent to the ML is a tested patch that should solve the problem.
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2293#comment:1>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the openmoko-kernel
mailing list