linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ] profiles/avrcp: Fix PDU for SetAbsoluteVolume with top level bit set
@ 2025-03-19 12:12 Frédéric Danis
  2025-03-19 13:28 ` [BlueZ] " bluez.test.bot
  2025-03-19 20:00 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Frédéric Danis @ 2025-03-19 12:12 UTC (permalink / raw)
  To: linux-bluetooth

This is required for passing PTS test case AVRCP/TG/VLH/BI-02-C
(To verify the behavior of the TG receiving a SetAbsoluteVolume
command with the top level bit set).
---
 profiles/audio/avrcp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index 65f1adbdd..8d1e03b93 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -1793,7 +1793,7 @@ static uint8_t avrcp_handle_set_absolute_volume(struct avrcp *session,
 		goto err;
 	}
 
-	volume = pdu->params[0] & 0x7F;
+	volume = pdu->params[0] = pdu->params[0] & 0x7F;
 
 	media_transport_update_device_volume(session->dev, volume);
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [BlueZ] profiles/avrcp: Fix PDU for SetAbsoluteVolume with top level bit set
  2025-03-19 12:12 [PATCH BlueZ] profiles/avrcp: Fix PDU for SetAbsoluteVolume with top level bit set Frédéric Danis
@ 2025-03-19 13:28 ` bluez.test.bot
  2025-03-19 20:00 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2025-03-19 13:28 UTC (permalink / raw)
  To: linux-bluetooth, frederic.danis

[-- Attachment #1: Type: text/plain, Size: 1261 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=945569

---Test result---

Test Summary:
CheckPatch                    PENDING   0.22 seconds
GitLint                       PENDING   0.20 seconds
BuildEll                      PASS      20.99 seconds
BluezMake                     PASS      1518.84 seconds
MakeCheck                     PASS      12.87 seconds
MakeDistcheck                 PASS      163.50 seconds
CheckValgrind                 PASS      221.40 seconds
CheckSmatch                   PASS      293.42 seconds
bluezmakeextell               PASS      100.91 seconds
IncrementalBuild              PENDING   0.35 seconds
ScanBuild                     PASS      904.44 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:



---
Regards,
Linux Bluetooth


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH BlueZ] profiles/avrcp: Fix PDU for SetAbsoluteVolume with top level bit set
  2025-03-19 12:12 [PATCH BlueZ] profiles/avrcp: Fix PDU for SetAbsoluteVolume with top level bit set Frédéric Danis
  2025-03-19 13:28 ` [BlueZ] " bluez.test.bot
@ 2025-03-19 20:00 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2025-03-19 20:00 UTC (permalink / raw)
  To: =?utf-8?b?RnLDqWTDqXJpYyBEYW5pcyA8ZnJlZGVyaWMuZGFuaXNAY29sbGFib3JhLmNvbT4=?=
  Cc: linux-bluetooth

Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Wed, 19 Mar 2025 13:12:18 +0100 you wrote:
> This is required for passing PTS test case AVRCP/TG/VLH/BI-02-C
> (To verify the behavior of the TG receiving a SetAbsoluteVolume
> command with the top level bit set).
> ---
>  profiles/audio/avrcp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - [BlueZ] profiles/avrcp: Fix PDU for SetAbsoluteVolume with top level bit set
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=f77e72c3ab11

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-19 19:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-19 12:12 [PATCH BlueZ] profiles/avrcp: Fix PDU for SetAbsoluteVolume with top level bit set Frédéric Danis
2025-03-19 13:28 ` [BlueZ] " bluez.test.bot
2025-03-19 20:00 ` [PATCH BlueZ] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).