]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_intel: Add Intel baudrate configuration support
authorLoic Poulain <loic.poulain@intel.com>
Tue, 25 Aug 2015 15:55:44 +0000 (17:55 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 28 Aug 2015 19:00:37 +0000 (21:00 +0200)
commit538619c532f1bdf448a91190e85b39309397ed2b
tree1b1dc92e3064ec51cfe269e955c0d38052cdf5e4
parent93da0d87665761ec14f9987b0e4db42fb7485f87
Bluetooth: hci_intel: Add Intel baudrate configuration support

Implement the set_baudrate callback for hci_intel.
 - Controller requires a read Intel version command before updating
   its baudrate.
 - The operation consists in an async cmd since the controller does
   not respond at the same speed.
 - Wait 100ms to let the controller change its baudrate.
 - Clear RTS until we change our own UART speed

Manage speed change in the setup function, we need to restore the oper
speed once chip has booted on patched firmware.

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