[PATCH 0/2] serdev API extension

From: Andrey Smirnov
Date: Tue Mar 14 2017 - 09:49:01 EST


Rob,

These patches are a continuation of discussion about adding
functionality to serdev API we had off-list.

Being added are a function to do a blocking write capable of
dispatching multiple calls to write_buf() and some very minimalistic
bus locking API.

Any feedback is appreciated.

Thanks,
Andrey Smirnov

Andrey Smirnov (2):
serdev: Add serdev_device_write subroutine
serdev: Add minimal bus locking API

drivers/tty/serdev/core.c | 38 ++++++++++++++++++++++++++++++++++++++
include/linux/serdev.h | 34 ++++++++++++++++++++++++++++------
2 files changed, 66 insertions(+), 6 deletions(-)

--
2.9.3