]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
greybus: handle data send errors in workqueue
authorAlex Elder <elder@linaro.org>
Sat, 22 Nov 2014 01:29:14 +0000 (19:29 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Sat, 22 Nov 2014 03:36:42 +0000 (19:36 -0800)
commit583c3117a4d36499adfe6de186826d59f5c4d788
tree07bc123ff34e0a7891e3bfd5aeea251490051d8f
parentee637a9b0e7452c1e3fa12f2d70bc4736a486096
greybus: handle data send errors in workqueue

The data sent callback can execute in atomic context.  If an error
occurred, we shouldn't be completing the operation right then and
there.  Instead, hand it off to the operation workqueue to complete
the operation.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/operation.c