HomeFreeBSD

regulator_fixed: Do not disable fixed regulator at probe

Description

regulator_fixed: Do not disable fixed regulator at probe

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

Details

Provenance
manuAuthored on
Differential Revision
D17978: regulator_fixed: Do not disable fixed regulator at probe
Parents
rS340988: vfs_aio.c: rename "physio" symbols to "bio".
Branches
Unknown
Tags
Unknown