diff options
| author | Alexander Stein <[email protected]> | 2025-07-08 08:38:29 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2025-07-09 14:14:11 +0000 |
| commit | d563e7f95c933816efe531c3a48e22bc099c0f55 (patch) | |
| tree | f89f25dc21385811acc3cbbbbfe3c19e00a84b5e /rust/helpers/regulator.c | |
| parent | gpiolib: fix performance regression when using gpio_chip_get_multiple() (diff) | |
| download | kernel-d563e7f95c933816efe531c3a48e22bc099c0f55.tar.gz kernel-d563e7f95c933816efe531c3a48e22bc099c0f55.zip | |
gpio: of: initialize local variable passed to the .of_xlate() callback
of_flags is passed down to GPIO chip's xlate function, so ensure this one
is properly initialized as - if the xlate callback does nothing with it
- we may end up with various configuration errors like:
gpio-720 (enable): multiple pull-up, pull-down or pull-disable enabled, invalid configuration
Signed-off-by: Alexander Stein <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[Bartosz: tweaked the commit message]
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'rust/helpers/regulator.c')
0 files changed, 0 insertions, 0 deletions
