summaryrefslogtreecommitdiffstats
path: root/kernel/sound/drivers/dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sound/drivers/dummy.c')
-rw-r--r--kernel/sound/drivers/dummy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sound/drivers/dummy.c b/kernel/sound/drivers/dummy.c
index a9f7a7570..676286165 100644
--- a/kernel/sound/drivers/dummy.c
+++ b/kernel/sound/drivers/dummy.c
@@ -420,6 +420,7 @@ static int dummy_hrtimer_stop(struct snd_pcm_substream *substream)
static inline void dummy_hrtimer_sync(struct dummy_hrtimer_pcm *dpcm)
{
+ hrtimer_cancel(&dpcm->timer);
tasklet_kill(&dpcm->tasklet);
}