diff options
| author | Axel Haslam | 2016-05-31 14:36:10 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman | 2016-05-31 17:18:18 -0700 |
| commit | 8d6fbe9bf9947ee875c222a2e33d5977e2d052f2 (patch) | |
| tree | ef8c62b364b4239ac91a40994f9590f7476b2d6c /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 219ffcf3a51d0e0d8464d42db01e1e745a0d690f (diff) | |
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>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
