提交 e3a973c6 编写于 作者: T Takashi Sakamoto 提交者: Takashi Iwai

ALSA: fireface: obsolete usage of ktime_set() for zero assignment

In development period for Linux v4.10, ktime_t became an alias of s64,
instead of union. I forgot it. We can just assign zero, instead of usage
of ktime_set(0, 0).

Fixes: 19174295 ("ALSA: fireface: add transaction support")
Signed-off-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 fa8323bf
......@@ -21,7 +21,7 @@ static void finish_transmit_midi_msg(struct snd_ff *ff, unsigned int port,
if (rcode != RCODE_COMPLETE) {
/* Transfer the message again, immediately. */
ff->next_ktime[port] = ktime_set(0, 0);
ff->next_ktime[port] = 0;
schedule_work(&ff->rx_midi_work[port]);
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册