]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5e2863ea4edee9492eacb7bf01689a7b562af5f2
treecf1f3d1a081a37421af9d9eb8918917f1deef8a3
parente098f2bec4c1ed88e3631be4ba57b499099ad8e9
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