commit | f146357f069e71aff8e474c625bcebcd3094b3ab | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Feb 02 14:14:10 2016 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Feb 03 00:15:42 2016 +0100 |
tree | d0240d85093b4f77e0b76b3c25396dd01bddb2e2 | |
parent | f784beb75ce82f4136f8a0960d3ee872f7109e09 [diff] |
ALSA: timer: Sync timer deletion at closing the system timer ALSA timer core framework has no sync point at stopping because it's called inside the spinlock. Thus we need a sync point at close for avoiding the stray timer task. This is simply done by implementing the close callback just calling del_timer_sync(). (It's harmless to call it unconditionally, as the core timer itself cares of the already deleted timer instance.) Signed-off-by: Takashi Iwai <tiwai@suse.de>