aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_ldisc.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-04-06 01:52:18 -0400
committerMarcel Holtmann <marcel@holtmann.org>2015-04-07 12:47:12 -0400
commitbdd8818e05da187cd028f64ef2c0a2a6a582bcb1 (patch)
tree75e440a81ae6a53bc36133b27c285e3c6c45ba6f /drivers/bluetooth/hci_ldisc.c
parent6ae4fddf78c11dedfb13a518a9050e9b265529ca (diff)
Bluetooth: hci_uart: Add protocol support for Broadcom UART devices
This adds the protocol support for Broadcom based UART devices to enable firmware and patchram download procedure. It is a pretty straight forward H:4 driver with the exception of actually having its own setup and address configuration callbacks. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth/hci_ldisc.c')
-rw-r--r--drivers/bluetooth/hci_ldisc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c
index b182ddc43dfe..a106c3e201e3 100644
--- a/drivers/bluetooth/hci_ldisc.c
+++ b/drivers/bluetooth/hci_ldisc.c
@@ -679,6 +679,9 @@ static int __init hci_uart_init(void)
679#ifdef CONFIG_BT_HCIUART_3WIRE 679#ifdef CONFIG_BT_HCIUART_3WIRE
680 h5_init(); 680 h5_init();
681#endif 681#endif
682#ifdef CONFIG_BT_HCIUART_BCM
683 bcm_init();
684#endif
682 685
683 return 0; 686 return 0;
684} 687}
@@ -702,6 +705,9 @@ static void __exit hci_uart_exit(void)
702#ifdef CONFIG_BT_HCIUART_3WIRE 705#ifdef CONFIG_BT_HCIUART_3WIRE
703 h5_deinit(); 706 h5_deinit();
704#endif 707#endif
708#ifdef CONFIG_BT_HCIUART_BCM
709 bcm_deinit();
710#endif
705 711
706 /* Release tty registration of line discipline */ 712 /* Release tty registration of line discipline */
707 err = tty_unregister_ldisc(N_HCI); 713 err = tty_unregister_ldisc(N_HCI);