opnsense-src/sys/dev/extres/regulator
Emmanuel Vadot 1e372b0494 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

(cherry picked from commit f52072b06d)
2021-07-22 19:09:43 +02:00
..
regdev_if.m
regnode_if.m
regulator.c extres: regulator: Fix regulator_status for already enable regulators 2021-07-22 19:09:43 +02:00
regulator.h
regulator_bus.c
regulator_fixed.c
regulator_fixed.h