diff options
| author | Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> | 2021-03-29 14:41:12 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-21 13:13:17 +0200 |
| commit | 95cd2562fadafac349e8f39d676fc486e63e560b (patch) | |
| tree | 3d5319f7dfc5c4d6ba6d467e65f7f79377a145a0 /include/uapi/linux/nilfs2_api.h | |
| parent | f9440331a84cc72f51352b230a925adf8379aed8 (diff) | |
gpio: sysfs: Obey valid_mask
[ Upstream commit 23cf00ddd2e1aacf1873e43f5e0c519c120daf7a ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/uapi/linux/nilfs2_api.h')
0 files changed, 0 insertions, 0 deletions
