[PATCH] backlight: led_bl: fix initial power state

2023-07-06 Thread Mans Rullgard
backlight device is not linked to any display, set the initial power to on unconditionally. Fixes: ae232e45acf9 ("backlight: add led-backlight driver") Signed-off-by: Mans Rullgard --- Changes in v3: - Add comment Changes in v2: - Use the reported LED state to set initial power state - Al

[PATCH v2] backlight: led_bl: fix initial power state

2023-07-04 Thread Mans Rullgard
backlight device is not linked to any display, set the initial power to on unconditionally. Fixes: ae232e45acf9 ("backlight: add led-backlight driver") Signed-off-by: Mans Rullgard --- Changes in v2: - Use the reported LED state to set initial power state - Always power on if no pha

[PATCH] backlight: led_bl: fix initial power state

2023-07-04 Thread Mans Rullgard
The condition for the initial power state based on the default brightness value is reversed. Fix it. Fixes: ae232e45acf9 ("backlight: add led-backlight driver") Signed-off-by: Mans Rullgard --- drivers/video/backlight/led_bl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

[PATCH] backlight: led_bl: take led_access lock when required

2023-06-20 Thread Mans Rullgard
]--- Signed-off-by: Mans Rullgard --- drivers/video/backlight/led_bl.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/video/backlight/led_bl.c b/drivers/video/backlight/led_bl.c index f54d256e2d54..7d02deb3444a 100644 --- a/drivers/video/backlight/led_bl.c +++ b/drivers

[PATCH] drm/sun4i: hdmi: add support for ddc-i2c-bus property

2019-03-29 Thread Mans Rullgard
Sometimes it is desirabled to use a separate i2c controller for ddc access. This adds support for the ddc-i2c-bus property of the hdmi-connector node, using the specified controller if provided. Signed-off-by: Mans Rullgard --- Changed in v2: - Return ERR_PTR(-ENODEV) instead of NULL when

[PATCH] drm/sun4i: hdmi: add support for ddc-i2c-bus property

2019-03-12 Thread Mans Rullgard
Sometimes it is desirabled to use a separate i2c controller for ddc access. This adds support for the ddc-i2c-bus property of the hdmi-connector node, using the specified controller if provided. Signed-off-by: Mans Rullgard --- drivers/gpu/drm/sun4i/sun4i_hdmi.h | 1 + drivers/gpu/drm