Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3a973c6 authored by Takashi Sakamoto's avatar Takashi Sakamoto Committed by Takashi Iwai
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;
	}
	}