summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/tools/loopback_test.c
diff options
context:
space:
mode:
authorAxel Haslam <ahaslam@baylibre.com>2016-02-26 11:39:48 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2016-02-29 14:51:38 -0800
commit39c2787b120a6e69e065b255d4db97ee60d73bf8 (patch)
tree20e88fd09c213fcd16617b23925322febdf5ab8d /drivers/staging/greybus/tools/loopback_test.c
parent9b22f155beb4e5a71f86710034b478ec43af9c43 (diff)
greybus: Notify user space only when the test finished.
Currently, user space is notified for every message sent, but this is not really needed and does not work in the async case where all messages are sent from the start. Instead, notify userspace only when all the transfers are complete. This allows userspace to wait in a poll loop and wakeup only when the test is finished. Also, don't use the bundle kobj to send the notification it is the loopback device that contains the loopback attributes. Signed-off-by: Axel Haslam <ahaslam@baylibre.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/tools/loopback_test.c')
0 files changed, 0 insertions, 0 deletions