diff options
author | Matti Vaittinen <[email protected]> | 2021-03-29 14:41:12 +0300 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2021-03-31 20:32:38 +0200 |
commit | 23cf00ddd2e1aacf1873e43f5e0c519c120daf7a (patch) | |
tree | fb80388d9afee339a82ae0bec0230f724a046a36 /include/linux/compiler-clang.h | |
parent | 6cb59afe9e5b45a035bd6b97da6593743feefc72 (diff) |
gpio: sysfs: Obey valid_mask
Do not allow exporting GPIOs which are set invalid
by the driver's valid mask.
Fixes: 726cb3ba4969 ("gpiolib: Support 'gpio-reserved-ranges' property")
Signed-off-by: Matti Vaittinen <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'include/linux/compiler-clang.h')
0 files changed, 0 insertions, 0 deletions