Skip to contentSkip to conversation

avrcp: Fix not marking AVRCP_EVENT_VOLUME_CHANGED as supported

PATCH Applied Luiz Augusto von Dentz 3 participants 3 messages Nov 8, 2024 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/1 avrcp: Fix not marking AVRCP_EVENT_VOLUME_CHANGED as supported

From: Luiz Augusto von Dentz <[email protected]>

If avrcp_volume_supported return true then AVRCP_EVENT_VOLUME_CHANGED shall be marked as supported.

---
 profiles/audio/avrcp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
profiles/audio/avrcp.c +1 -1
index b5e6548e6600..9fe8f55e5dbf 100644
@@ -4268,7 +4268,7 @@ static void target_init(struct avrcp *session)
 	if (target->version < 0x0104)
 		return;
 
-	if (!avrcp_volume_supported(target))
+	if (avrcp_volume_supported(target))
 		session->supported_events |=
 				(1 << AVRCP_EVENT_VOLUME_CHANGED);
 
Signature · 1 line
2.47.0
#1 lore raw

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=907911

---Test result---

Test Summary:

CheckPatch                    PASS      0.25 seconds
GitLint                       PASS      0.19 seconds
BuildEll                      PASS      24.63 seconds
BluezMake                     PASS      1750.10 seconds
MakeCheck                     PASS      12.97 seconds
MakeDistcheck                 PASS      180.21 seconds
CheckValgrind                 PASS      254.75 seconds
CheckSmatch                   PASS      358.79 seconds
bluezmakeextell               PASS      120.89 seconds
IncrementalBuild              PASS      1501.67 seconds
ScanBuild                     PASS      1024.91 seconds

---
Regards,
Linux Bluetooth

#2 lore raw
In reply to Luiz Augusto von Dentz
This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 8 lines · On Fri, 8 Nov 2024 13:19:21 -0500 you wrote:

From: Luiz Augusto von Dentz <[email protected]>

If avrcp_volume_supported return true then AVRCP_EVENT_VOLUME_CHANGED shall be marked as supported.

[...]

Here is the summary with links:
- [BlueZ,v1] avrcp: Fix not marking AVRCP_EVENT_VOLUME_CHANGED as supported

    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=de1b3a5ac399

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html