commit | 35e60bfdbc14ce31bba55cc82144f8a2a82ede68 | [log] [tgz] |
---|---|---|
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | Tue Apr 16 10:27:16 2013 +1000 |
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | Tue Apr 16 10:04:23 2013 +0200 |
tree | 2e9d9523edd263fc325a819ad6aba7d78edc4c59 | |
parent | 210914e29975d17e635f9e8c1f7478c0ed7a208f [diff] |
stream: Add flow control API Add basic flow control to stream. A stream slave may return short, indicating that it is not capable of accepting any more data at the present time. Polling or a callback can be used via the can_push() function to determine when the slave can receive again. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>