diff options
author | Mathias Kresin <dev@kresin.me> | 2018-06-28 18:23:37 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-06-28 18:39:57 +0200 |
commit | a570933999da5ff4e6a37aecb0ad9a0ac2bf4a09 (patch) | |
tree | 01eb41daba7c2b57c3633942b7f256b213901c68 /target/linux/au1000 | |
parent | 750e4b62b170c7709ebe2524588b35ff9faf0542 (diff) | |
download | upstream-a570933999da5ff4e6a37aecb0ad9a0ac2bf4a09.tar.gz upstream-a570933999da5ff4e6a37aecb0ad9a0ac2bf4a09.tar.bz2 upstream-a570933999da5ff4e6a37aecb0ad9a0ac2bf4a09.zip |
treewide: gpio-export: add error handling
Check if the GPIO is valid (or set at all). If no GPIO is set in the
devicetree, a gpiolib related kernel warning + stacktrace is shown during
boot and gpio-export reports GPIOs as exported albeit none really is.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/au1000')
0 files changed, 0 insertions, 0 deletions