summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-omap.c
diff options
context:
space:
mode:
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>2021-03-29 14:41:12 +0300
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2021-03-31 21:32:38 +0300
commit23cf00ddd2e1aacf1873e43f5e0c519c120daf7a (patch)
treefb80388d9afee339a82ae0bec0230f724a046a36 /drivers/gpio/gpio-omap.c
parent6cb59afe9e5b45a035bd6b97da6593743feefc72 (diff)
downloadlinux-23cf00ddd2e1aacf1873e43f5e0c519c120daf7a.tar.xz
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 <matti.vaittinen@fi.rohmeurope.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio/gpio-omap.c')
0 files changed, 0 insertions, 0 deletions