tools: gpiomon: fix setting event clock type
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 15 Mar 2023 08:34:56 +0000 (09:34 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 15 Mar 2023 18:36:24 +0000 (19:36 +0100)
commit1960b3b1073122b1af38856f7880e29ccff54d3f
treeacdfeae9a67c87dd0e6efa0ed9cef93dd84927ca
parent3c55c6f3e0c94333acf6f3da1e96ef17fd430887
tools: gpiomon: fix setting event clock type

Fix an inverted logic bug when parsing event clock type in gpiomon.

Fixes: 8ffb6489286f ("tools: line name focussed rework")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reported-by: Wes Tarro <wes.tarro@azuresummit.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
tools/gpiomon.c