commit | 2259a819a8d37e472f08c88bc0dd22194754adb4 | [log] [tgz] |
---|---|---|
author | Richard Cochran <rcochran@linutronix.de> | Wed Apr 06 17:00:54 2016 -0400 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Apr 07 22:10:58 2016 +0200 |
tree | 2cb425544ec2a864e0522e7e571a7f705bb5b7c0 | |
parent | ca42489d9ee3262482717c83428e087322fdc39c [diff] |
intel_idle: Setup the timer broadcast only on successful driver load. This driver sets the broadcast tick quite early on during probe and does not clean up again in cast of failure. This patch moves the setup call after the registration, placing the on_each_cpu() calls within the global CPU lock region. Signed-off-by: Richard Cochran <rcochran@linutronix.de> Signed-off-by: Len Brown <len.brown@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>