From 624648cdc2d79e448c3720cbb85af75e2d68d67d Mon Sep 17 00:00:00 2001 From: David Wu Date: Fri, 3 Mar 2017 22:16:09 +0800 Subject: [PATCH] video: backlight: pwm_bl: Fix the bug of Splashing screen when boot The pwm_apply_args() should be removed when switching to the atomic PWM API. Oherwise, the screen would splashing as the backlight is disabled once when boot. Change-Id: I0cadd471db54140192c39b9d7c6a673862e8f8d8 Signed-off-by: David Wu --- drivers/video/backlight/pwm_bl.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c index bdfcc0a71db1..800e605475e6 100644 --- a/drivers/video/backlight/pwm_bl.c +++ b/drivers/video/backlight/pwm_bl.c @@ -559,12 +559,6 @@ static int pwm_backlight_probe(struct platform_device *pdev) pb->levels = data->levels; } - /* - * FIXME: pwm_apply_args() should be removed when switching to - * the atomic PWM API. - */ - pwm_apply_args(pb->pwm); - /* * The DT case will set the pwm_period_ns field to 0 and store the * period, parsed from the DT, in the PWM device. For the non-DT case,