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)
commiteb17380972d563a7dd59634cd2fdb614f3b98cdd
treecfd613f8af1d7d61449bcb98512647aee475e2ca
parent99c679acce5d07aa1be63d8afe94df27f0aecb50
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