Re: [PATCH v1] Bluetooth: btmtkuart: Use serdev_device_write_buf() instead of serdev_device_write()

From: Marcel Holtmann
Date: Mon Jun 01 2020 - 02:06:13 EST


Hi Zijun,

> 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@xxxxxxxxxxxxxx>
> ---
> drivers/bluetooth/btmtkuart.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel