Ticket #79: preserve_gps_pwrstate_gta01.2.patch

File preserve_gps_pwrstate_gta01.2.patch, 432 bytes (added by mwester@…, 11 years ago)

Updated patch to preserve the power state of the GPS on the GTA01

  • arch/arm/plat-s3c24xx/neo1973_pm_gps.c

    old new  
    514514{ 
    515515#ifdef CONFIG_MACH_NEO1973_GTA01 
    516516        if (machine_is_neo1973_gta01()) { 
    517                 /* FIXME */ 
    518                 gps_power_sequence_up(); 
     517                if (neo1973_gps.power_was_on) 
     518                        gps_power_sequence_up(); 
    519519        } 
    520520#endif /* CONFIG_MACH_NEO1973_GTA01 */ 
    521521