diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2017-12-21 19:37:24 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-01-02 11:31:20 +0300 |
commit | 30322bcf82d74cad0d6e1cf9ba7fa7fa48c7a026 (patch) | |
tree | f46a497daef538e4bce3a9491db6dedbb9a1e8bf /drivers/ptp | |
parent | fe13862c9cad6f7d7d4faa97f546eb94d4989f44 (diff) | |
download | linux-30322bcf82d74cad0d6e1cf9ba7fa7fa48c7a026.tar.xz |
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>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions