diff options
author | Uwe Kleine-König <[email protected]> | 2015-01-27 23:50:25 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2015-02-03 13:57:52 +0100 |
commit | 4ff0f034e95d65f8f063a362dfcf86e986377a82 (patch) | |
tree | e2da33517dab63060a49bf173b19eac0a80f9946 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | fc0d8fda5080825760b8f2deeec655b3a588327e (diff) |
pinctrl: pinctrl-imx: don't use invalid value of conf_reg
The right check for conf_reg to be invalid it testing against -1 not 0
as is done in the rest of the driver.
This fixes an oops that can be triggered by:
cat /sys/kernel/debug/pinctrl/43fac000.iomuxc/*
Fixes: ae75ff814538 ("pinctrl: pinctrl-imx: add imx pinctrl core driver")
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions