commit | 30322bcf82d74cad0d6e1cf9ba7fa7fa48c7a026 | [log] [tgz] |
---|---|---|
author | Vladimir Zapolskiy <vz@mleia.com> | Thu Dec 21 18:37:24 2017 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Jan 02 09:31:20 2018 +0100 |
tree | f46a497daef538e4bce3a9491db6dedbb9a1e8bf | |
parent | fe13862c9cad6f7d7d4faa97f546eb94d4989f44 [diff] |
gpiolib: don't dereference a desc before validation The fix restores a proper validation of an input gpio desc, which might be needed to deal with optional GPIOs correctly. Fixes: 02e479808b5d ("gpio: Alter semantics of *raw* operations to actually be raw") Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>