greybus: loopback_test: Cancel only the tests running on selected devices
authorRyan Lim <limryan@google.com>
Wed, 20 Jul 2016 15:14:02 +0000 (08:14 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 20 Jul 2016 18:23:03 +0000 (11:23 -0700)
commit2861e2079081a156b0b731e1f6acb2aaf5605c5e
tree0ef17b36b0b2233f02612ac277a33da5f3bf6f7f
parent93a738894346d01687c8979bca129d7eaaf7d35f
greybus: loopback_test: Cancel only the tests running on selected devices

When starting a loopback test, it cancels all currently running tests on
all loopback devices. When -m argument is given, which runs the test on
specific loopback devices, only the tests running on the selected
devices need to be cancelled before starting new tests.

Signed-off-by: Ryan Lim <limryan@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/tools/loopback_test.c