diff options
author | Mark Brown <broonie@kernel.org> | 2018-10-21 17:00:02 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-10-21 17:00:02 +0100 |
commit | 4fd1f509e89f0e8ea28b1baa41d314636ae2064e (patch) | |
tree | b9bb0e99bc91404e8d2709b8a5acdbefdab27bb2 /drivers/regulator/lp8788-ldo.c | |
parent | 35a7f35ad1b150ddf59a41dcac7b2fa32982be0e (diff) | |
parent | d8b2a8e9c06bc389659716e81d1c2b1f147611d1 (diff) | |
download | linux-4fd1f509e89f0e8ea28b1baa41d314636ae2064e.tar.gz |
Merge branch 'regulator-4.20' into regulator-next
Diffstat (limited to 'drivers/regulator/lp8788-ldo.c')
-rw-r--r-- | drivers/regulator/lp8788-ldo.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/regulator/lp8788-ldo.c b/drivers/regulator/lp8788-ldo.c index f2347474a106..553b4790050f 100644 --- a/drivers/regulator/lp8788-ldo.c +++ b/drivers/regulator/lp8788-ldo.c @@ -503,9 +503,10 @@ static int lp8788_config_ldo_enable_mode(struct platform_device *pdev, /* FIXME: check default mode for GPIO here: high or low? */ ldo->ena_gpiod = devm_gpiod_get_index_optional(&pdev->dev, - "enable", - enable_id, - GPIOD_OUT_HIGH); + "enable", + enable_id, + GPIOD_OUT_HIGH | + GPIOD_FLAGS_BIT_NONEXCLUSIVE); if (IS_ERR(ldo->ena_gpiod)) return PTR_ERR(ldo->ena_gpiod); |