[PATCH v3 4/4] staging: greybus: loopback: convert loopback to use generic async operations

Johan Hovold johan at kernel.org
Mon Nov 6 09:19:12 UTC 2017


On Mon, Nov 06, 2017 at 01:32:22AM +0000, Bryan O'Donoghue wrote:
> 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 <pure.logic at nexus-software.ie>

Reviewed-by: Johan Hovold <johan at kernel.org>


More information about the devel mailing list