diff options
author | Fabrice Gasnier <[email protected]> | 2020-03-04 09:55:32 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-03-04 13:57:28 +0000 |
commit | 02fbabd5f4ed182d2c616e49309f5a3efd9ec671 (patch) | |
tree | 50bae0825dfaca838567cea2d6cec1f24107e9b3 /drivers/usb/cdns3/cdns3-imx.c | |
parent | a5b0cda136f4f420a8e24e50d19dfcef2f81df2e (diff) |
regulator: stm32-vrefbuf: fix a possible overshoot when re-enabling
There maybe an overshoot, when disabling, then re-enabling vrefbuf
too quickly. VREFBUF is used by ADC/DAC on some boards. When re-enabling
too quickly, an overshoot on the reference voltage make the conversions
inaccurate for a short period of time.
- Don't put the VREFBUF in HiZ when disabling, to force an active
discharge.
- Enforce a 1ms OFF/ON delay
Fixes: 0cdbf481e927 ("regulator: Add support for stm32-vrefbuf")
Signed-off-by: Fabrice Gasnier <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions