]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: imx6q: add of_init_opp_table
authorJohn Tobias <john.tobias.ph@gmail.com>
Fri, 20 Dec 2013 06:56:28 +0000 (22:56 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 6 Jan 2014 12:33:45 +0000 (13:33 +0100)
commitad1a7f17ae3538262ba7b4ff6108ae9912de8f44
treeb34b6c92db6c34a47f55e9a766651fdb8e227c1e
parenta423a2670177ba0ae13e3954eed054a737b5cf89
cpufreq: imx6q: add of_init_opp_table

Add a routine check to see if the platform supplied the OPP table.
Incase there's no OPP table exist, it will try to initialise it.

It's been tested on iMX6SL board where the platform doesn't have
an OPP table.

Signed-off-by: John Tobias <john.tobias.ph@gmail.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/imx6q-cpufreq.c