diff options
author | Mathias Nyman <[email protected]> | 2014-03-27 15:02:08 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2014-03-28 21:52:35 +0100 |
commit | 8650ea1ebc31e9b0ab17c31d844dc106e60269db (patch) | |
tree | a344b34557258337eb513fb8d53e6c8e1fca31c6 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c3626fdea044cc97bfc035ebb048f7619acb6736 (diff) |
gpio-lynxpoint: force gpio_get() to return "1" and "0" only
Don't return the IN_LVL_BIT directly, a high gpio line returned
value "1073741824" intestead of "1" because IN_LVL_BIT is BIT(30)
Tested-by: Jerome Blin <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions