commit | 40fbb915fd0f4b088f5c9b07061b7d665287d26f | [log] [tgz] |
---|---|---|
author | Sascha Hauer <s.hauer@pengutronix.de> | Fri Jun 14 09:23:49 2019 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Sat Jul 06 12:53:56 2019 +0200 |
tree | 765fb7b8865ae2ecadc9df3c2676ba42374f25e5 | |
parent | db50450d096a452ae36dc265575cbff50f0f9f01 [diff] |
Bluetooth: hci_ldisc: Add function to wait for characters to be sent The hci UART line discipline sends its characters in a workqueue. Some devices like the Marvell Bluetooth chips need to make sure that all queued characters are sent before switching the baudrate. This adds a function to synchronize with the workqueue. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>