diff options
author | Sudeep KarkadaNagesha <[email protected]> | 2013-09-10 18:59:47 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2013-09-19 03:53:43 +0200 |
commit | b494b48dacb4dd848d76bc8871e55716486f0253 (patch) | |
tree | 44d122a8bcf5d596578d9e97fdef92525cb40ede /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e1825b25309264bf2d1275a8da9c997bca39b0d8 (diff) |
cpufreq: imx6q-cpufreq: assign cpu_dev correctly to cpu0 device
Commit cdc58d602d2e657602a90c190cbf745886c95977 "cpufreq: imx6q-cpufreq:
remove device tree parsing for cpu nodes" assumed the pdev->dev is set to
cpu0 device in the platform code. But it actually points to the virtual
cpufreq-cpu0 platform device which is not present in the device tree.
Most of the information needed by cpufreq is stored in cpu0 DT node.
So cpu_dev must point to cpu0 device.
This patch fixes the wrong assignment to cpu_dev.
Reported-by: Guennadi Liakhovetski <[email protected]>
Tested-by: Shawn Guo <[email protected]>
Signed-off-by: Sudeep KarkadaNagesha <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions