diff options
author | Stefan Agner <[email protected]> | 2014-09-06 18:25:04 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2014-09-23 11:45:47 +0200 |
commit | 3dac1918a4912cea9375e76cb3916b751cef22db (patch) | |
tree | 7497cb27472c195901735c1b5e6fa926331bd72e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 3ccc11f6b82c34646c8a4233278251d9e9e99390 (diff) |
pinctrl: imx: detect uninitialized pins
The pinctrl driver initialized the register offsets for the pins
with 0. On Vybrid an offset of 0 is a valid offset for the pinctrl
mux register. So far, this was solved using the ZERO_OFFSET_VALID
flag which allowed offsets of 0. However, this does not allow to
verify whether a pins struct imx_pmx_func was initialized or not.
Use signed offset values for register offsets and initialize those
with -1 in order to detect uninitialized offset values reliable.
Signed-off-by: Stefan Agner <[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