diff options
author | Kees Cook <keescook@chromium.org> | 2017-10-24 08:35:09 -0700 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-10-24 21:33:03 +0200 |
commit | 57e69e2f06e8fe4949c54e438c9faae0731e92f8 (patch) | |
tree | b782eb28fdabbb6e2332f4ac58b6ab2bfa3f721e /include/sound | |
parent | 08352b200b203f8f9fa8a1c914acb58c7b10f907 (diff) | |
download | talos-obmc-linux-57e69e2f06e8fe4949c54e438c9faae0731e92f8.tar.gz talos-obmc-linux-57e69e2f06e8fe4949c54e438c9faae0731e92f8.zip |
ALSA: wavefront: Convert timers to use timer_setup()
In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly.
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/snd_wavefront.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/snd_wavefront.h b/include/sound/snd_wavefront.h index cd0bab1ef6f1..fcd770fdcda5 100644 --- a/include/sound/snd_wavefront.h +++ b/include/sound/snd_wavefront.h @@ -28,6 +28,7 @@ struct _snd_wavefront_midi { struct snd_rawmidi_substream *substream_output[2]; struct snd_rawmidi_substream *substream_input[2]; struct timer_list timer; + snd_wavefront_card_t *timer_card; spinlock_t open; spinlock_t virtual; /* protects isvirtual */ }; |