summaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-05-29 10:27:50 +0200
committerTakashi Iwai <tiwai@suse.de>2015-05-29 10:27:50 +0200
commit984a8547052711867332eeaec4141755fc040553 (patch)
treec8bbc1e16d11c023e1a7ec0421401be0a0e4a304 /kernel/time
parent3270f0dd1a35d6b785bf39e1ed7ed6e1e43c8ebb (diff)
parentb47eee2e0a7de623c24dbcaf303c3bf2b5155455 (diff)
downloadblackbird-op-linux-984a8547052711867332eeaec4141755fc040553.tar.gz
blackbird-op-linux-984a8547052711867332eeaec4141755fc040553.zip
Merge branch 'for-linus' into for-next
Merge back the latest HD-audio stuff for further development.
Diffstat (limited to 'kernel/time')
-rw-r--r--kernel/time/clockevents.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c
index 11dc22a6983b..637a09461c1d 100644
--- a/kernel/time/clockevents.c
+++ b/kernel/time/clockevents.c
@@ -117,11 +117,7 @@ static int __clockevents_set_state(struct clock_event_device *dev,
/* Transition with new state-specific callbacks */
switch (state) {
case CLOCK_EVT_STATE_DETACHED:
- /*
- * This is an internal state, which is guaranteed to go from
- * SHUTDOWN to DETACHED. No driver interaction required.
- */
- return 0;
+ /* The clockevent device is getting replaced. Shut it down. */
case CLOCK_EVT_STATE_SHUTDOWN:
return dev->set_state_shutdown(dev);
OpenPOWER on IntegriCloud