[PATCH v2 5/8] PM / devfreq: Get the available next frequency on update_devfreq()

2017-09-20 Thread Chanwoo Choi
The update_devfreq() considers only user frequency (min_freq/max_freq) and the next target_freq provided by the governor. But, The commit a76caf55e5b35 ("thermal: Add devfreq cooling") is able to disable OPP as a cooling device. In result, the update_devfreq() have to consider the

[PATCH v2 5/8] PM / devfreq: Get the available next frequency on update_devfreq()

2017-09-20 Thread Chanwoo Choi
The update_devfreq() considers only user frequency (min_freq/max_freq) and the next target_freq provided by the governor. But, The commit a76caf55e5b35 ("thermal: Add devfreq cooling") is able to disable OPP as a cooling device. In result, the update_devfreq() have to consider the