Thread (32 messages) 32 messages, 6 authors, 2018-06-11

Re: [PATCH 08/13] Bluetooth: hci_serdev: Move serdev_device_close/open into common hci_serdev code

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2018-05-30 06:48:21
Also in: linux-devicetree

Hi Hans,
Make hci_uart_register_device() and hci_uart_unregister_device() call
serdev_device_close()/open() themselves instead of relying on the various
hci_uart drivers to do this for them.

Besides reducing code complexity, this also ensures correct error checking
of serdev_device_open(), which was missing in a few drivers.

Signed-off-by: Hans de Goede <redacted>
---
drivers/bluetooth/hci_bcm.c    | 10 +---------
drivers/bluetooth/hci_ll.c     |  3 ---
drivers/bluetooth/hci_nokia.c  |  3 ---
drivers/bluetooth/hci_serdev.c |  9 ++++++++-
4 files changed, 9 insertions(+), 16 deletions(-)
this patch has been cherry-picked and applied to bluetooth-next tree.

Regards

Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help