diff options
| author | Chris Packham <[email protected]> | 2019-07-08 08:35:58 +1200 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2019-07-29 00:57:39 +0200 |
| commit | d95da993383c78f7efd25957ba3af23af4b1c613 (patch) | |
| tree | 6112c17b8f8b98373a65be0a0414acde4b852bfb /drivers/media/platform/vimc/vimc-core.c | |
| parent | 238644ce4b50a16f1c028d2b92ab2947f61d322e (diff) | |
gpiolib: Preserve desc->flags when setting state
desc->flags may already have values set by of_gpiochip_add() so make
sure that this isn't undone when setting the initial direction.
Cc: [email protected]
Fixes: 3edfb7bd76bd1cba ("gpiolib: Show correct direction from the beginning")
Signed-off-by: Chris Packham <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-core.c')
0 files changed, 0 insertions, 0 deletions