diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-01-18 17:39:18 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-01-18 17:39:23 +0100 |
commit | c09e28cd1219fd267ed838e1758ff2e7b6ff3ec6 (patch) | |
tree | 6259cbb1e1659b2720934409c67e00180ee68ba4 /sound/firewire | |
parent | 915183b62276191ef767e00e683f4c085c4cc325 (diff) | |
parent | 532a208ad61018b586cebfca8431291fe9c10ce7 (diff) | |
download | linux-c09e28cd1219fd267ed838e1758ff2e7b6ff3ec6.tar.bz2 |
Merge branch 'for-linus' into for-next
Back-merge of 5.11 devel branch for more works on USB-audio.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire')
-rw-r--r-- | sound/firewire/fireface/ff-transaction.c | 2 | ||||
-rw-r--r-- | sound/firewire/tascam/tascam-transaction.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/firewire/fireface/ff-transaction.c b/sound/firewire/fireface/ff-transaction.c index 7f82762ccc8c..ee7122c461d4 100644 --- a/sound/firewire/fireface/ff-transaction.c +++ b/sound/firewire/fireface/ff-transaction.c @@ -88,7 +88,7 @@ static void transmit_midi_msg(struct snd_ff *ff, unsigned int port) /* Set interval to next transaction. */ ff->next_ktime[port] = ktime_add_ns(ktime_get(), - ff->rx_bytes[port] * 8 * NSEC_PER_SEC / 31250); + ff->rx_bytes[port] * 8 * (NSEC_PER_SEC / 31250)); if (quad_count == 1) tcode = TCODE_WRITE_QUADLET_REQUEST; diff --git a/sound/firewire/tascam/tascam-transaction.c b/sound/firewire/tascam/tascam-transaction.c index 90288b4b4637..a073cece4a7d 100644 --- a/sound/firewire/tascam/tascam-transaction.c +++ b/sound/firewire/tascam/tascam-transaction.c @@ -209,7 +209,7 @@ static void midi_port_work(struct work_struct *work) /* Set interval to next transaction. */ port->next_ktime = ktime_add_ns(ktime_get(), - port->consume_bytes * 8 * NSEC_PER_SEC / 31250); + port->consume_bytes * 8 * (NSEC_PER_SEC / 31250)); /* Start this transaction. */ port->idling = false; |