Skip to contentSkip to conversation

pull request: bluetooth-next 2024-07-14

PATCH Applied Luiz Augusto von Dentz 3 participants 4 messages Jul 15, 2024

Subsystems (2)
lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

The following changes since commit ecb1e1dcb7b5d68828c13ab3f99e399b4ec0c350:

Merge branch 'introduce-en7581-ethernet-support' (2024-07-14 07:46:55 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git tags/for-net-next-2024-07-14

for you to fetch changes up to f624ec7b1d32b427ee820d8e824c636c859351e0:

Bluetooth: btmtk: Mark all stub functions as inline (2024-07-14 21:39:22 -0400)

----------------------------------------------------------------
bluetooth-next pull request for net-next:

- qca: use the power sequencer for QCA6390
- btusb: mediatek: add ISO data transmission functions
- hci_bcm4377: Add BCM4388 support
- btintel: Add support for BlazarU core
- btintel: Add support for Whale Peak2
- btnxpuart: Add support for AW693 A1 chipset
- btnxpuart: Add support for IW615 chipset
- btusb: Add Realtek RTL8852BE support ID 0x13d3:0x3591

----------------------------------------------------------------
Bartosz Golaszewski (10):
power: sequencing: implement the pwrseq core
power: pwrseq: add a driver for the PMU module on the QCom WCN chipsets
dt-bindings: net: bluetooth: qualcomm: describe regulators for QCA6390
Bluetooth: qca: use the power sequencer for QCA6390
Bluetooth: qca: don't disable power management for QCA6390
dt-bindings: bluetooth: qualcomm: describe the inputs from PMU for wcn7850
Bluetooth: hci_qca: schedule a devm action for disabling the clock
Bluetooth: hci_qca: unduplicate calls to hci_uart_register_device()
Bluetooth: hci_qca: make pwrseq calls the default if available
Bluetooth: hci_qca: use the power sequencer for wcn7850 and wcn6855

Chris Lu (8):
Bluetooth: btusb: mediatek: remove the unnecessary goto tag
Bluetooth: btusb: mediatek: return error for failed reg access
Bluetooth: btmtk: rename btmediatek_data
Bluetooth: btusb: add callback function in btusb suspend/resume
Bluetooth: btmtk: move btusb_mtk_hci_wmt_sync to btmtk.c
Bluetooth: btmtk: move btusb_mtk_[setup, shutdown] to btmtk.c
Bluetooth: btmtk: move btusb_recv_acl_mtk to btmtk.c
Bluetooth: btusb: mediatek: add ISO data transmission functions

Dan Carpenter (1):
Bluetooth: MGMT: Uninitialized variable in load_conn_param()

Dmitry Antipov (2):
Bluetooth: hci_core, hci_sync: cleanup struct discovery_state
Bluetooth: hci_core: cleanup struct hci_dev

Dr. David Alan Gilbert (2):
Bluetooth/nokia: Remove unused struct 'hci_nokia_radio_hdr'
Bluetooth: iso: remove unused struct 'iso_list_data'

Erick Archer (5):
Bluetooth: hci_core: Prefer struct_size over open coded arithmetic
Bluetooth: hci_core: Prefer array indexing over pointer arithmetic
tty: rfcomm: prefer struct_size over open coded arithmetic
tty: rfcomm: prefer array indexing over pointer arithmetic
Bluetooth: Use sizeof(*pointer) instead of sizeof(type)

Hao Qin (3):
Bluetooth: btusb: mediatek: refactor the function btusb_mtk_reset
Bluetooth: btusb: mediatek: reset the controller before downloading the fw
Bluetooth: btusb: mediatek: add MT7922 subsystem reset

Hector Martin (2):
Bluetooth: hci_bcm4377: Increase boot timeout
Bluetooth: hci_bcm4377: Add BCM4388 support

Hilda Wu (1):
Bluetooth: btusb: Add RTL8852BE device 0489:e125 to device tables

Iulia Tanasescu (1):
Bluetooth: hci_event: Set QoS encryption from BIGInfo report

Kiran K (7):
Bluetooth: btintel: Refactor btintel_set_ppag()
Bluetooth: btintel_pcie: Print Firmware Sequencer information
Bluetooth: btintel_pcie: Fix irq leak
Bluetooth: btintel: Add firmware ID to firmware name
Bluetooth: btintel: Fix the sfi name for BlazarU
Bluetooth: btintel: Add support for BlazarU core
Bluetooth: btintel: Add support for Whale Peak2

Krzysztof Kozlowski (1):
Bluetooth: hci: fix build when POWER_SEQUENCING=m

Luiz Augusto von Dentz (8):
Bluetooth: MGMT: Make MGMT_OP_LOAD_CONN_PARAM update existing connection
Bluetooth: Fix usage of __hci_cmd_sync_status
Bluetooth: hci_core: Remove usage of hci_req_sync
Bluetooth: hci_core: Don't use hci_prepare_cmd
Bluetooth: hci_sync: Move handling of interleave_scan
Bluetooth: hci_sync: Remove remaining dependencies of hci_request
Bluetooth: Remove hci_request.{c,h}
Bluetooth: hci_qca: Fix build error

Luke Wang (1):
Bluetooth: btnxpuart: Shutdown timer and prevent rearming when driver unloading

Nathan Chancellor (1):
Bluetooth: btmtk: Mark all stub functions as inline

Neeraj Sanjay Kale (10):
Bluetooth: btnxpuart: Fix Null pointer dereference in btnxpuart_flush()
Bluetooth: btnxpuart: Enable status prints for firmware download
Bluetooth: btnxpuart: Handle FW Download Abort scenario
dt-bindings: net: bluetooth: nxp: Add firmware-name property
Bluetooth: btnxpuart: Update firmware names
Bluetooth: btnxpuart: Add handling for boot-signature timeout errors
Bluetooth: btnxpuart: Add support for AW693 A1 chipset
Bluetooth: btnxpuart: Add support for IW615 chipset
Bluetooth: btnxpuart: Add system suspend and resume handlers
Bluetooth: btnxpuart: Fix warnings for suspend and resume functions

Paul Menzel (1):
Bluetooth: btintel: Fix spelling of *intermediate* in comment

Rafał Miłecki (1):
dt-bindings: net: bluetooth: convert MT7622 Bluetooth to the json-schema

Sean Wang (2):
Bluetooth: btmtk: add the function to get the fw name
Bluetooth: btmtk: apply the common btmtk_fw_get_filename

Sven Peter (1):
Bluetooth: hci_bcm4377: Use correct unit for timeouts

Thorsten Blum (1):
Bluetooth: btintel_pcie: Remove unnecessary memset(0) calls

WangYuli (1):

      Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x13d3:0x3591

Ying Hsu (1):
Bluetooth: Add vendor-specific packet classification for ISO data

 .../net/bluetooth/mediatek,mt7622-bluetooth.yaml   |   51 +
 .../bindings/net/bluetooth/nxp,88w8987-bt.yaml     |    4 +
 .../bindings/net/bluetooth/qualcomm-bluetooth.yaml |   35 +-
 .../devicetree/bindings/net/mediatek-bluetooth.txt |   36 -
 MAINTAINERS                                        |    8 +
 drivers/bluetooth/Kconfig                          |    7 +-
 drivers/bluetooth/btintel.c                        |  240 +++--
 drivers/bluetooth/btintel.h                        |   11 +-
 drivers/bluetooth/btintel_pcie.c                   |   10 +-
 drivers/bluetooth/btmtk.c                          | 1085 ++++++++++++++++++-
 drivers/bluetooth/btmtk.h                          |  118 ++-
 drivers/bluetooth/btmtksdio.c                      |    4 +
 drivers/bluetooth/btmtkuart.c                      |    1 +
 drivers/bluetooth/btnxpuart.c                      |  242 ++++-
 drivers/bluetooth/btrtl.c                          |    2 +-
 drivers/bluetooth/btusb.c                          |  735 ++-----------
 drivers/bluetooth/hci_bcm4377.c                    |   66 +-
 drivers/bluetooth/hci_ldisc.c                      |    2 +-
 drivers/bluetooth/hci_nokia.c                      |    5 -
 drivers/bluetooth/hci_qca.c                        |  133 ++-
 drivers/bluetooth/hci_vhci.c                       |    2 +-
 drivers/power/Kconfig                              |    1 +
 drivers/power/Makefile                             |    1 +
 drivers/power/sequencing/Kconfig                   |   29 +
 drivers/power/sequencing/Makefile                  |    6 +
 drivers/power/sequencing/core.c                    | 1105 ++++++++++++++++++++
 drivers/power/sequencing/pwrseq-qcom-wcn.c         |  336 ++++++
 include/linux/pwrseq/consumer.h                    |   56 +
 include/linux/pwrseq/provider.h                    |   75 ++
 include/net/bluetooth/bluetooth.h                  |    4 +
 include/net/bluetooth/hci_core.h                   |    7 +-
 include/net/bluetooth/hci_sock.h                   |    2 +-
 include/net/bluetooth/hci_sync.h                   |   26 +
 include/net/bluetooth/rfcomm.h                     |    2 +-
 net/bluetooth/Makefile                             |    3 +-
 net/bluetooth/hci_conn.c                           |    1 -
 net/bluetooth/hci_core.c                           |   95 +-
 net/bluetooth/hci_debugfs.c                        |    1 -
 net/bluetooth/hci_event.c                          |    3 +-
 net/bluetooth/hci_request.c                        |  903 ----------------
 net/bluetooth/hci_request.h                        |   71 --
 net/bluetooth/hci_sync.c                           |  103 +-
 net/bluetooth/iso.c                                |    5 -
 net/bluetooth/mgmt.c                               |   51 +-
 net/bluetooth/msft.c                               |    1 -
 net/bluetooth/rfcomm/tty.c                         |   23 +-
 46 files changed, 3693 insertions(+), 2014 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/bluetooth/mediatek,mt7622-bluetooth.yaml
 create mode 100644 drivers/power/sequencing/Kconfig
 create mode 100644 drivers/power/sequencing/Makefile
 create mode 100644 drivers/power/sequencing/core.c
 create mode 100644 drivers/power/sequencing/pwrseq-qcom-wcn.c
 create mode 100644 include/linux/pwrseq/consumer.h
 create mode 100644 include/linux/pwrseq/provider.h
 delete mode 100644 net/bluetooth/hci_request.c
 delete mode 100644 net/bluetooth/hci_request.h
author maintainer
#1 lore raw

PATCH v2 1/1 Bluetooth: hci_qca: Fix build error

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

This fixes the following build error introduced by a887c8dede8e ("Bluetooth: hci_qca: schedule a devm action for disabling the clock"):

drivers/bluetooth/hci_qca.c: In function ‘qca_serdev_remove’:
drivers/bluetooth/hci_qca.c:2501:2: error: label at end of compound statement

 2501 |  default:
      |  ^~~~~~~
Fixes a887c8dede8e ("Bluetooth: hci_qca: schedule a devm action for disabling the clock")
---
 drivers/bluetooth/hci_qca.c | 1 +
 1 file changed, 1 insertion(+)
drivers/bluetooth/hci_qca.c +1 -0
index 030153d468bf..ca6466676902 100644
@@ -2499,6 +2499,7 @@ static void qca_serdev_remove(struct serdev_device *serdev)
 			qca_power_shutdown(&qcadev->serdev_hu);
 		break;
 	default:
+		break;
 	}
 
 	hci_uart_unregister_device(&qcadev->serdev_hu);
Signature · 1 line
2.45.2
#2 lore raw

RE: [v2] Bluetooth: hci_qca: Fix build error

This is an automated email and please do not reply to this email.

Dear Submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
While preparing the CI tests, the patches you submitted couldn't be applied to the current HEAD of the repository.

----- Output -----

error: patch failed: drivers/bluetooth/hci_qca.c:2499
error: drivers/bluetooth/hci_qca.c: patch does not apply
hint: Use 'git am --show-current-patch' to see the failed patch

Please resolve the issue and submit the patches again.

---
Regards,
Linux Bluetooth

#3 lore raw

Re: [PATCH v2] Bluetooth: hci_qca: Fix build error

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

Hello:

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

Quoted 11 lines · On Sun, 14 Jul 2024 21:51:04 -0400 you wrote:

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

This fixes the following build error introduced by a887c8dede8e ("Bluetooth: hci_qca: schedule a devm action for disabling the clock"):

drivers/bluetooth/hci_qca.c: In function ‘qca_serdev_remove’:
drivers/bluetooth/hci_qca.c:2501:2: error: label at end of compound statement

 2501 |  default:
      |  ^~~~~~~

[...]

Here is the summary with links:
- [v2] Bluetooth: hci_qca: Fix build error

    https://git.kernel.org/bluetooth/bluetooth-next/c/84f9288208df

You are awesome, thank you!

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