Re: [PATCH 3/3] devfreq: Add current freq callback in device profile

2012-09-10 Thread Rajagopal Venkat
On 10 September 2012 03:30, Rafael J. Wysocki wrote: > On Monday, September 03, 2012, Rajagopal Venkat wrote: >> Devfreq returns governor predicted frequency as current >> frequency via sysfs interface. But device may not support >> all frequencies that governor predicts. > > Do you have any examp

Re: [PATCH 3/3] devfreq: Add current freq callback in device profile

2012-09-09 Thread Rafael J. Wysocki
On Monday, September 03, 2012, Rajagopal Venkat wrote: > Devfreq returns governor predicted frequency as current > frequency via sysfs interface. But device may not support > all frequencies that governor predicts. Do you have any examples, even out of the tree? > Its driver > responsibility to m

[PATCH 3/3] devfreq: Add current freq callback in device profile

2012-09-03 Thread Rajagopal Venkat
Devfreq returns governor predicted frequency as current frequency via sysfs interface. But device may not support all frequencies that governor predicts. Its driver responsibility to maintain current frequency at which device is operating. Add a callback in device profile to fix this. Also add a ne