aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorSaravana Kannan <[email protected]>2014-04-23 18:10:50 -0500
committerMark Brown <[email protected]>2014-06-01 19:16:12 +0100
commitfd482a3e3e20cddfb6d775ec0382f98a92b8a25e (patch)
treed6ea01b6e44fd0c71645c3b252140df17a73dd40 /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parente953583456005823d7c20fefe5212f0f60a93fb6 (diff)
regulator: core: Disable unused regulators after deferred probing is done
regulator_init_complete does a scan of regulators which dont have always-on or consumers are automatically disabled as being unused. However, with deferred probing, late_initcall() is too soon to declare a regulator as unused as the regulator itself might not have registered due to defferal - Example: A regulator deffered due to i2bus not available which in turn is deffered due to pinctrl availability. Since deferred probing is done in late_initcall(), do the cleanup of unused regulators by regulator_init_complete in late_initcall_sync instead of late_initcall. Cc: Liam Girdwood <[email protected]> Cc: Mark Brown <[email protected]> Cc: Markus Pargmann <[email protected]> Signed-off-by: Saravana Kannan <[email protected]> [[email protected]: minor rewording] Signed-off-by: Nishanth Menon <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions