Bluetooth: Add delayed init sequence support for UART controllers
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 16 Jul 2012 13:12:11 +0000 (16:12 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 17 Jul 2012 17:48:29 +0000 (14:48 -0300)
commit9f2aee848fe60325b1984653833d2d1825ec730d
treecf1f3d1a081a37421af9d9eb8918917f1deef8a3
parentdac670b97698f7c5584b224dd68d9d612b9ad4d7
Bluetooth: Add delayed init sequence support for UART controllers

This patch makes it possible to have UART drivers perform an internal
initialization before calling hci_register_dev. This allows moving a lot
of init code from user space (hciattach) to the kernel side, thereby
creating a more controlled/robust initialization process.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
drivers/bluetooth/hci_ldisc.c
drivers/bluetooth/hci_uart.h