diff options
Diffstat (limited to 'sound/drivers/aloop.c')
-rw-r--r-- | sound/drivers/aloop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c index 7ea53399404d..7f9126efc1e5 100644 --- a/sound/drivers/aloop.c +++ b/sound/drivers/aloop.c | |||
@@ -181,8 +181,7 @@ static void loopback_timer_start(struct loopback_pcm *dpcm) | |||
181 | } | 181 | } |
182 | tick = dpcm->period_size_frac - dpcm->irq_pos; | 182 | tick = dpcm->period_size_frac - dpcm->irq_pos; |
183 | tick = (tick + dpcm->pcm_bps - 1) / dpcm->pcm_bps; | 183 | tick = (tick + dpcm->pcm_bps - 1) / dpcm->pcm_bps; |
184 | dpcm->timer.expires = jiffies + tick; | 184 | mod_timer(&dpcm->timer, jiffies + tick); |
185 | add_timer(&dpcm->timer); | ||
186 | } | 185 | } |
187 | 186 | ||
188 | /* call in cable->lock */ | 187 | /* call in cable->lock */ |