Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262680
b: refs/heads/master
c: 0584ffa
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Aug 8, 2011
1 parent 91e6977 commit baa4780
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 67ada8367c323ce13d0268c87cf09bf8af956e92
refs/heads/master: 0584ffa548b6e59aceb027112f23a55f0133400e
2 changes: 2 additions & 0 deletions trunk/sound/core/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,8 @@ int snd_timer_stop(struct snd_timer_instance *timeri)
if (err < 0)
return err;
timer = timeri->timer;
if (!timer)
return -EINVAL;
spin_lock_irqsave(&timer->lock, flags);
timeri->cticks = timeri->ticks;
timeri->pticks = 0;
Expand Down

0 comments on commit baa4780

Please sign in to comment.