diff options
author | Stefan Agner <stefan@agner.ch> | 2014-09-06 17:46:26 +0200 |
---|---|---|
committer | Stefan Agner <stefan@agner.ch> | 2014-09-12 13:45:32 +0200 |
commit | 310b11efbe4dfa8cac13f9f01e114dd399a5caaf (patch) | |
tree | c200bb8fa62c42bebe97842b903fd981158c710e /include/uapi/linux/fiemap.h | |
parent | 1a078ccab05ca52c9cbdbaf80c5a7956ffbb44dd (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.
Diffstat (limited to 'include/uapi/linux/fiemap.h')
0 files changed, 0 insertions, 0 deletions