diff options
author | Bryan O'Donoghue <[email protected]> | 2017-11-06 01:32:22 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-11-06 16:41:22 +0100 |
commit | 262edc359d429488af243eb45e007d360a738211 (patch) | |
tree | a1c268899e71bcaff08e569f9fd5710d70455847 /include/linux/fpga/fpga-mgr.h | |
parent | 200543c1b94da9249b35ea1b8726cd0cdee128d5 (diff) |
staging: greybus: loopback: convert loopback to use generic async operations
Loopback has its own internal method for tracking and timing out
asynchronous operations however previous patches make it possible to use
functionality provided by operation.c to do this instead. Using the code in
operation.c means we can completely subtract the timer, the work-queue, the
kref and the cringe-worthy 'pending' flag. The completion callback
triggered by operation.c will provide an authoritative result code -
including -ETIMEDOUT for asynchronous operations.
Signed-off-by: Bryan O'Donoghue <[email protected]>
Reviewed-by: Johan Hovold <[email protected]>
Cc: Alex Elder <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Mitch Tasman <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions