]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_uart: Add setup callback
authorLoic Poulain <loic.poulain@intel.com>
Wed, 25 Mar 2015 14:19:30 +0000 (15:19 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 25 Mar 2015 16:31:58 +0000 (17:31 +0100)
commit97015b9272881e44f908b214369e1c71a1c0fe5a
treecfd613f8af1d7d61449bcb98512647aee475e2ca
parentef0bf4f586094da525b1ed06d055f72d4e1abd66
Bluetooth: hci_uart: Add setup callback

Some Bluetooth controllers require initialization before being
used (vendor config, firmware download). Add possibility for a
HCI UART proto to implement this early init via the setup callback.

Signed-off-by: Loic Poulain <loic.poulain@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_ldisc.c
drivers/bluetooth/hci_uart.h