Axel Haslam 8d6fbe9bf9 greybus: uart: Use a fifo to send data to the modules
The firmware now buffers data instead of blocking while the transfer
is sent, and the write operation cannot sleep.

Instead of using gb_transfer_sync (which sleeps) in the write callback,
buffer data in a fifo and send it from from a work queue.

The write_room callback will will report 1 byte less that what is really
available in the fifo, to leave space for extra characters that may
be added by the tty layer.

Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2016-05-31 17:18:18 -07:00
..
2016-02-02 21:26:32 -08:00
2016-05-23 14:41:41 -07:00
2016-05-27 12:19:29 -07:00
2016-05-27 12:26:31 -07:00
2014-08-11 15:29:23 +08:00
2016-05-27 11:28:16 -07:00
2016-04-25 11:08:30 -07:00
2016-05-27 11:28:16 -07:00
2016-05-27 11:28:16 -07:00

Greybus kernel code

To build against the running kernel (odds are you don't want this):
	make

To build against a specific kernel source tree (odds are you want this):
	KERNELDIR=/home/some/random/place make

Any questions / concerns about this code base, please email:
	Greg Kroah-Hartman <greg@kroah.com>