]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btbcm: Make btbcm_setup_patchram use btbcm_finalize
authorHans de Goede <hdegoede@redhat.com>
Fri, 17 Apr 2020 17:15:29 +0000 (19:15 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 22 Apr 2020 17:43:58 +0000 (19:43 +0200)
commit60c0c0e7599cefe095d70d6a3da59b9084096737
treed67fb005ec71acf22334e776cf84a518d6447868
parente00a9cf6a067b7f51a52244c2ab6211e3f95e84d
Bluetooth: btbcm: Make btbcm_setup_patchram use btbcm_finalize

On UART attached devices we do:

1. btbcm_initialize()
2. Setup UART baudrate, etc.
3. btbcm_finalize()

After our previous changes we can now also use btbcm_finalize() from
the btbcm_setup_patchram() function used on USB devices without any
functional changes. This completes unifying the USB and UART paths
as much as possible.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btbcm.c
drivers/bluetooth/btbcm.h
drivers/bluetooth/hci_bcm.c