]> 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)
commitea665c97007e57a6243309db7883f54367420495
treedbecd82adb831a8f7936c90b415de47c0829df79
parent65b6c9c43c9119db785aa5ddc6a61dc5cae0c770
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