freebsd-dev/sys/dev/extres/regulator
Emmanuel Vadot f52072b06d extres: regulator: Fix regulator_status for already enable regulators
If a regulator hasn't been enable by a driver but is enabled in hardware
(most likely enabled by U-Boot), regulator_status will returns that it
is enabled and so any call to regulator_disable will panic as it wasn't
enabled by one of our drivers.

Sponsored by:	Diablotin Systems
Differential Revision:	https://reviews.freebsd.org/D30293
2021-05-21 17:39:07 +02:00
..
regdev_if.m
regnode_if.m regulator: Add regulator_check_voltage function 2019-11-06 14:55:24 +00:00
regulator_bus.c
regulator_fixed.c regulator_fixed: Add a get_voltage method 2020-01-16 20:52:26 +00:00
regulator_fixed.h
regulator.c extres: regulator: Fix regulator_status for already enable regulators 2021-05-21 17:39:07 +02:00
regulator.h regulator: Add regulator_check_voltage function 2019-11-06 14:55:24 +00:00