summaryrefslogtreecommitdiff
path: root/drivers/mfd/intel_quark_i2c_gpio.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 20:32:38 +0200
commit23cf00ddd2e1aacf1873e43f5e0c519c120daf7a (patch)
treefb80388d9afee339a82ae0bec0230f724a046a36 /drivers/mfd/intel_quark_i2c_gpio.c
parent6cb59afe9e5b45a035bd6b97da6593743feefc72 (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 <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/mfd/intel_quark_i2c_gpio.c')
0 files changed, 0 insertions, 0 deletions