diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2017-04-14 23:06:54 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-04-20 15:00:54 +0200 |
commit | e3a973c69b3e3d877db982ff11f930cf845fe728 (patch) | |
tree | d4f6269f91bef6b8371adb110b215504e73ebf06 /sound/firewire | |
parent | fa8323bf49f5c92363fe7c3c80b6b342f5430baa (diff) | |
download | op-kernel-dev-e3a973c69b3e3d877db982ff11f930cf845fe728.zip op-kernel-dev-e3a973c69b3e3d877db982ff11f930cf845fe728.tar.gz |
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: 19174295788 ("ALSA: fireface: add transaction support")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire')
-rw-r--r-- | sound/firewire/fireface/ff-transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/fireface/ff-transaction.c b/sound/firewire/fireface/ff-transaction.c index d1b098f..dd6c8e8 100644 --- a/sound/firewire/fireface/ff-transaction.c +++ b/sound/firewire/fireface/ff-transaction.c @@ -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; } |