> +               pinfo->tzd[i] = thermal_zone_device_register(name[i],
> +                                       TRIP_POINTS,
> initialize_sensor(i),
> +                                       &tzd_ops, TEMP_CONST1,
> TEMP_CONST2,
> +                                       PASSIVE_FREQ, POLLING_FREQ);
> +               pinfo->tzd[i]->passive = true;

If the sensor has a true thermal event interrupt why are you polling
it ? This all costs battery and wakeups on a phone.
_______________________________________________
Meego-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel

Reply via email to