diff options
| author | Axel Haslam | 2016-05-31 14:36:13 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman | 2016-05-31 17:18:18 -0700 |
| commit | 5dad5c314b686ca84aa5477462fcfd2b1abcba46 (patch) | |
| tree | 3078a86005e957ab329e07f27c917a00186d6d3e /tools | |
| parent | 2b3b87f056b276b688cb0429faf682cac33dbf7b (diff) | |
greybus: uart: wait for credits on shutdown
We should try to wait until all credits are accounted
for before returning from shutdown.
For this purpose add a helper function that will
wait on completion, and call it form the shutdown.
This helper will also be useful when "wait until sent" is
implemented.
Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
