diff options
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | 2019-07-08 08:35:58 +1200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-07-29 00:57:39 +0200 |
commit | d95da993383c78f7efd25957ba3af23af4b1c613 (patch) | |
tree | 6112c17b8f8b98373a65be0a0414acde4b852bfb /drivers/cpufreq/cpufreq_userspace.c | |
parent | 238644ce4b50a16f1c028d2b92ab2947f61d322e (diff) | |
download | linux-d95da993383c78f7efd25957ba3af23af4b1c613.tar.gz linux-d95da993383c78f7efd25957ba3af23af4b1c613.tar.bz2 linux-d95da993383c78f7efd25957ba3af23af4b1c613.zip |
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: stable@vger.kernel.org
Fixes: 3edfb7bd76bd1cba ("gpiolib: Show correct direction from the beginning")
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20190707203558.10993-1-chris.packham@alliedtelesis.co.nz
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/cpufreq/cpufreq_userspace.c')
0 files changed, 0 insertions, 0 deletions