]> git.baikalelectronics.ru Git - kernel.git/commit
intel_idle: Propagate hot plug errors.
authorRichard Cochran <rcochran@linutronix.de>
Wed, 6 Apr 2016 21:00:56 +0000 (17:00 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 7 Apr 2016 20:11:02 +0000 (22:11 +0200)
commit74a9f3dbe928e3695ec4801708109b5c3467ddc3
treedbecd82adb831a8f7936c90b415de47c0829df79
parent4ec7b1e05dc427af99386b3911f835608eb44528
intel_idle: Propagate hot plug errors.

If a cpuidle registration error occurs during the hot plug notifier
callback, we should really inform the hot plug machinery instead of
just ignoring the error.  This patch changes the callback to properly
return on error.

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>
drivers/idle/intel_idle.c