Skip to content
Commit 877de2a3 authored by Paul HENRYS's avatar Paul HENRYS Committed by Tom Rini
Browse files

drivers: led: bcm6858: Set a default brightness when probing LEDs



When probing the LEDs, a default brightness is set based on settings
from the U-Boot device tree, i.e. the 'default-brightness' property
of the LED nodes. If that property is not present, the default
maximum brightness is set.
This should make sure the LED controller's registers affecting the
brightness are correctly initialized and should give a consistent
behaviour.

Signed-off-by: default avatarPaul HENRYS <paul.henrys_ext@softathome.com>
parent 5fa973eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment