diff options
| author | Mark Brown <broonie@kernel.org> | 2018-05-30 10:15:20 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2018-05-30 10:17:03 -0400 |
| commit | ab4d11e2c2329cf7cb7be31ff22489aae4dee5dc (patch) | |
| tree | adf82bf82855955ac9e128952de57ae2c3a9e324 /include/linux/mfd | |
| parent | d1dae72fab2c377ff463742eefd8ac0f9e99b7b9 (diff) | |
regulator: wm8994: Fix shared GPIOs
This reverts commit 3c6b38d45fa51c7c51 "regulator: wm8994: Pass
descriptor instead of GPIO number" as it has problems with shared
GPIOs similar to that on s2mps11.
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/wm8994/pdata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/wm8994/pdata.h b/include/linux/mfd/wm8994/pdata.h index fca67bd194e2..90c60524a496 100644 --- a/include/linux/mfd/wm8994/pdata.h +++ b/include/linux/mfd/wm8994/pdata.h | |||
| @@ -20,6 +20,9 @@ | |||
| 20 | #define WM8994_NUM_AIF 3 | 20 | #define WM8994_NUM_AIF 3 |
| 21 | 21 | ||
| 22 | struct wm8994_ldo_pdata { | 22 | struct wm8994_ldo_pdata { |
| 23 | /** GPIOs to enable regulator, 0 or less if not available */ | ||
| 24 | int enable; | ||
| 25 | |||
| 23 | const struct regulator_init_data *init_data; | 26 | const struct regulator_init_data *init_data; |
| 24 | }; | 27 | }; |
| 25 | 28 | ||
