aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/ff-memless.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/ff-memless.c')
-rw-r--r--drivers/input/ff-memless.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/input/ff-memless.c b/drivers/input/ff-memless.c
index b483b2995fa9..decc51f45bfd 100644
--- a/drivers/input/ff-memless.c
+++ b/drivers/input/ff-memless.c
@@ -411,8 +411,6 @@ static int ml_ff_playback(struct input_dev *dev, int effect_id, int value)
411 msecs_to_jiffies(state->effect->replay.length); 411 msecs_to_jiffies(state->effect->replay.length);
412 state->adj_at = state->play_at; 412 state->adj_at = state->play_at;
413 413
414 ml_schedule_timer(ml);
415
416 } else { 414 } else {
417 debug("initiated stop"); 415 debug("initiated stop");
418 416
@@ -420,10 +418,10 @@ static int ml_ff_playback(struct input_dev *dev, int effect_id, int value)
420 __set_bit(FF_EFFECT_ABORTING, &state->flags); 418 __set_bit(FF_EFFECT_ABORTING, &state->flags);
421 else 419 else
422 __clear_bit(FF_EFFECT_STARTED, &state->flags); 420 __clear_bit(FF_EFFECT_STARTED, &state->flags);
423
424 ml_play_effects(ml);
425 } 421 }
426 422
423 ml_play_effects(ml);
424
427 return 0; 425 return 0;
428} 426}
429 427