Re: [PATCH] ALSA: wavefront: Convert timers to use timer_setup()

From: Takashi Iwai
Date: Tue Oct 24 2017 - 15:32:13 EST


On Tue, 24 Oct 2017 17:35:09 +0200,
Kees Cook wrote:
>
> 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.
>
> Cc: Jaroslav Kysela <perex@xxxxxxxx>
> Cc: Takashi Iwai <tiwai@xxxxxxxx>
> Cc: Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>
> Cc: alsa-devel@xxxxxxxxxxxxxxxx
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>

Thanks, applied.

I guess we may deduce the card pointer from substream_output[], but
this approach will be simpler in the end.


Takashi