Skip to content
Commit a44b0f5e authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Bryan Wu
Browse files

leds: pca963x: Add missing initialiation of struct led_info.flags



Only the name and default_trigger fields are initialized.
Other fields (currently flags only) contain random stack data.
Pre-initialize the led structure completely to fix this.

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarBryan Wu <cooloney@gmail.com>
parent 9647507a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment