freebsd-nq/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_bus.c
regulator_fixed.c
regulator_fixed.h
regulator.c extres: regulator: Fix regulator_status for already enable regulators 2021-05-21 17:39:07 +02:00
regulator.h