From nobody Fri Nov 20 09:49:03 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4jW9XJ0lzxz71THC for ; Fri, 20 Nov 2026 09:49:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jW9XH6tdPz4qSs for ; Fri, 20 Nov 2026 09:49:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795168144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Qvbg0ucEY/CIlNV0MqfmLwtYQBjjobygu2c+chx0IAA=; b=Gxg/qLKttwGtf4q2fvVi3+kQpAJxhMowdVBpBBj0lo3Ol6hp0o43snkH0jDIM2DLgxqwE9 5A3VLS6IFQj4CYs3XYls36DqHTbiYoNNJLDHsolnfYQIWo95hrwmjbeDDZ2hgg+3cCIzel KxO0yd651wocviYn55GU1w+XNwaKerRjfXp3df0oGJYoH1NHnqbY9M2T4L16vOOHIlBKIt SUuqKqq4tY1ebN69FYIr+SiN4qzlvr/tnpxBkjGe2lRuRhgzYfIwCdLmauYJungsXEZtWI ZZFtezs2T+pJoEsG4FTC6mZbY69nemkSeWthn/bwf+Vl73HufppaqKHkjWKaRA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1795168144; b=fzTYAp5HtLUs2NCMUlYkdib1zkO1TjQy6I2Gy7CX3+NqlODEBoOr+PNCuKxRqjMU+jqWgJ KQD8O+YaKDe40jn+OYDuAcV/9KfmeWfckooyMF6q7W8DUiXsRQR/JZmBvfi+J/p4nsLsb1 yuNKqbE4dD2psfb9EfKc6HXZHYizL48XTtkjcXX0xsRN/CgkkLqSgMILZ1nuXWxZxegDin XM300FyePdeagzN33kdkB7XmxGBoUt+S94UyTNtVRQzB0wfJW7hJc0/Ht5p16awdoesbJb PxtOw4t4JAq7loPxOUNEvPz1xzROFuJ4T30RdKIPZiMMjd1jian+eNK2n2Ay8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795168144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Qvbg0ucEY/CIlNV0MqfmLwtYQBjjobygu2c+chx0IAA=; b=o5HOqNHYt5MDj9jRdoTxjC5t2aBHF22FhxyzVS+lf6MRO7FntOcP9VNvl02QdELEVOzxO4 dSrIt1maW3ks6WYtxkltCPDsJJhap5+kKiLN/R5wk7z9FNLNb3uGmJszKzngJ/UIGEeOjj Jvzooti0BGSAb5h5gavUl+qwxvFKQnw0iUdo992zoGsjYpd6h3HCPuqhiFUQT7VAlSHb2y VzIn8gwQ7+RK/Z8+QJOU/gTPr0h2p+3b8dtyfeIq9EdwGjhDnPiSpLbNLCQ7pxnHBKofv2 TyKZJZU86p88kyx0uu1SEiJ1NeVtENdE4avfwYyzjF+6MOFEOCF93cfgQXWIJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jW9XH6YMmzkHJ for ; Fri, 20 Nov 2026 09:49:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 151cc by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 20 Nov 2026 09:49:03 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Christos Margiolis Subject: git: 6f80968093ec - stable/15 - snd_uaudio: Fix the MIDI TX round-robin List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: christos X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 6f80968093eccb5f9de1cfffd5a45c2163b605b4 Auto-Submitted: auto-generated Date: Fri, 20 Nov 2026 09:49:03 +0000 Message-Id: <6b00178f.151cc.55e46b11@gitrepo.freebsd.org> The branch stable/15 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=6f80968093eccb5f9de1cfffd5a45c2163b605b4 commit 6f80968093eccb5f9de1cfffd5a45c2163b605b4 Author: Christos Margiolis AuthorDate: 2026-11-17 08:12:28 +0000 Commit: Christos Margiolis CommitDate: 2026-11-20 09:46:04 +0000 snd_uaudio: Fix the MIDI TX round-robin Nothing advances curr_cable, so umidi_bulk_write_callback() only services cable 0, which is a problem on MIDI devices with more than one jack. Fixes: 039477d3e7e7 ("snd_uaudio: Simplify chan->curr_cable calculation in uaudio_bulk_write_callback()") Sponsored by: The FreeBSD Foundation MFC after: 1 day (cherry picked from commit f58613868b50dfd6c2adc7128ea60d7b276fdbf1) --- sys/dev/sound/usb/uaudio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/sound/usb/uaudio.c b/sys/dev/sound/usb/uaudio.c index 1c364ce44232..854f007a21fb 100644 --- a/sys/dev/sound/usb/uaudio.c +++ b/sys/dev/sound/usb/uaudio.c @@ -5945,7 +5945,8 @@ tr_setup: } } - chan->curr_cable %= chan->max_emb_jack; + chan->curr_cable = (chan->curr_cable + 1) % + chan->max_emb_jack; if (chan->curr_cable == start_cable) { if (tr_any == 0)