OpenCloudOS-Kernel/drivers/gnss
Johan Hovold 1decef3704 gnss: sirf: fix synchronous write timeout
Passing a timeout of zero to the synchronous serdev_device_write()
helper does currently not imply to wait forever (unlike passing zero to
serdev_device_wait_until_sent()). Instead, if there's insufficient
room in the write buffer, we'd end up with an incomplete write.

Fixes: d2efbbd18b ("gnss: add driver for sirfstar-based receivers")
Cc: stable <stable@vger.kernel.org>     # 4.19
Signed-off-by: Johan Hovold <johan@kernel.org>
2018-11-14 20:37:41 +01:00
..
Kconfig gnss: add driver for sirfstar-based receivers 2018-06-28 20:32:51 +09:00
Makefile gnss: add driver for sirfstar-based receivers 2018-06-28 20:32:51 +09:00
core.c gnss: fix potential error pointer dereference 2018-07-16 12:48:07 +02:00
serial.c gnss: serial: fix synchronous write timeout 2018-11-14 20:37:28 +01:00
serial.h gnss: add generic serial driver 2018-06-28 20:31:32 +09:00
sirf.c gnss: sirf: fix synchronous write timeout 2018-11-14 20:37:41 +01:00
ubx.c gnss: ubx: make struct ubx_gserial_ops static 2018-07-16 12:48:07 +02:00