diff options
author | Zev Weiss <[email protected]> | 2022-10-31 16:37:04 -0700 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-11-03 13:35:06 +0000 |
commit | 5c51d4afcf3fd36159713556402e16cfab794ae9 (patch) | |
tree | 0c702c68c1b631e042ddc8e23cf776650b40806c /drivers/message/fusion/lsi/mpi_raid.h | |
parent | 14b8ad4c2580231fc45c2313ef822a15bb12f63f (diff) |
regulator: userspace-consumer: Handle regulator-output DT nodes
In addition to adding some fairly simple OF support code, we make some
slight adjustments to the userspace-consumer driver to properly
support use with regulator-output hardware:
- We now do an exclusive get of the supply regulators so as to
prevent regulator_init_complete_work from automatically disabling
them.
- Instead of assuming that the supply is initially disabled, we now
query its state to determine the initial value of drvdata->enabled.
Signed-off-by: Zev Weiss <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/message/fusion/lsi/mpi_raid.h')
0 files changed, 0 insertions, 0 deletions