On Thu, 21 Oct 2010 19:01:59 +0530 "R, Durgadoss" <[email protected]> wrote:
> Hi Alan, > > >If the sensor has a true thermal event interrupt why are you polling > >it ? This all costs battery and wakeups on a phone. > > These are skin sensors on the platform and do not generate an > interrupt. So, the thermal monitoring is done by polling. The hwmon API docs are absolutely clear on this - the polling should be done by userspace in such a situation. The driver seems to be doing an awful lot more than it needs to. I'd expect it to simply expose the ADC values via sysfs according to the hwmon spec. If it doesn't provide most of the other features that simply doesn't matter - the driver doesn't need to emulate them. _______________________________________________ Meego-kernel mailing list [email protected] http://lists.meego.com/listinfo/meego-kernel
