diff options
author | Johan Hovold <johan@kernel.org> | 2017-01-23 13:04:14 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-09 11:58:56 +0100 |
commit | dbec27298b0df86eaa6bc02e5df0ce55ec7d97f2 (patch) | |
tree | aaeae8679724ce4bdbe08e94e24b4660d0545ec9 /drivers/staging/mt29f_spinand | |
parent | a769f30c7bd7cf917eea05a2b448f3588a87d767 (diff) |
staging: greybus: operation: add generic timeout support
Add a struct timer_list to struct gb_operation and use that to implement
generic operation timeouts.
This simplifies the synchronous operation handling somewhat while also
providing a generic timeout mechanism that drivers can use for
asynchronous operations.
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt29f_spinand')
0 files changed, 0 insertions, 0 deletions