85e2d8bb84
If the regulator is unused it will be disabled by the regulator_shutdown sysinit. Tested on pinebook where the backlight is controlled by a fixed-regulator. The regulator doesn't have a regulator-boot-on param (I'm gonna upstream this) and so we disable it at probe. We later enable it but this cause the screen to go black. Linux doesn't disable regulator at boot (at least for fixed-regulator) so better match this to have the same UX. MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D17978 |
||
---|---|---|
.. | ||
regdev_if.m | ||
regnode_if.m | ||
regulator_bus.c | ||
regulator_fixed.c | ||
regulator_fixed.h | ||
regulator.c | ||
regulator.h |