]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Bluetooth: btmtkuart: Use serdev_device_write_buf() instead of serdev_device_write()
authorZijun Hu <zijuhu@codeaurora.org>
Fri, 29 May 2020 15:58:56 +0000 (23:58 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 1 Jun 2020 06:05:07 +0000 (08:05 +0200)
commitd3a0fe6b0988241c64ef4f6a1045423cc79a612a
tree3d6936d77084310ea55384b1054e725966e4ba4e
parent4942857b015ede4fab8b262931244a3c1006a2a6
Bluetooth: btmtkuart: Use serdev_device_write_buf() instead of serdev_device_write()

serdev_device_write() is not appropriate at here because
serdev_device_write_wakeup() is not used to release completion hold
by the former at @write_wakeup member of struct serdev_device_ops.

Fix by using serdev_device_write_buf() instead of serdev_device_write().

Signed-off-by: Zijun Hu <zijuhu@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmtkuart.c