Commit e3a973c6 authored by Takashi Sakamoto's avatar Takashi Sakamoto Committed by 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: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent fa8323bf
...@@ -21,7 +21,7 @@ static void finish_transmit_midi_msg(struct snd_ff *ff, unsigned int port, ...@@ -21,7 +21,7 @@ static void finish_transmit_midi_msg(struct snd_ff *ff, unsigned int port,
if (rcode != RCODE_COMPLETE) { if (rcode != RCODE_COMPLETE) {
/* Transfer the message again, immediately. */ /* 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]); schedule_work(&ff->rx_midi_work[port]);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment