On 19 August 2013 11:46, amit daniel kachhap amit.daniel@samsung.com wrote:
I meant that something like 2 policies can be registered SCALE_DIRECT/STEPS. if SCALE_DIRECT is registered than target will be called with exact frequency. SCALE_STEPS will behave as currently happening. This way target_index api may not be needed. But looks like Rafael and others are fine with your approach so you can ignore this :)
Why wouldn't we need target_index in case of SCALE_DIRECT? All target_index is doing now is changing platform specific registers to configure an exact frequency reported by index..