]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: operation: complete operations on cancellation
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 14 Jul 2015 13:43:27 +0000 (15:43 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 15 Jul 2015 19:39:13 +0000 (12:39 -0700)
commitdb1481ba7f36c2f5f74d19918bdf315a1ef8226b
tree93a438d8b223a02368862d7391b47f6d4fec7444
parentfd7134a3cd0a1b3f91e66922534a796145c85eef
greybus: operation: complete operations on cancellation

Make sure to call the operation completion callback also when the
operation is being cancelled.

The completion callback may need to release resources allocated at
submission and the driver should be informed that the operation has
failed due to cancellation.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/operation.c