]> asedeno.scripts.mit.edu Git - linux.git/commit
serdev: document the write functions using kernel-doc
authorJohan Hovold <johan@kernel.org>
Wed, 14 Nov 2018 15:09:04 +0000 (16:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Nov 2018 18:44:21 +0000 (19:44 +0100)
commit2d13969ee7d892c69a9fff5af8c0356682290c41
treea768e0f47ac75ac534483d345c86f6d552592b52
parent70d188041e6f1f92004f1d5d7ddfd5013273b7a5
serdev: document the write functions using kernel-doc

Document the asynchronous serdev_device_write_buf() and synchronous
serdev_device_write() functions using kernel-doc.

Specifically, mention that writing data only means that data has been
buffered by the controller, and that the synchronous helper depends on
serdev_device_write_wakeup() being called in the driver write_wakeup()
callback.

Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serdev/core.c