mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
video: backlight: pwm_bl: fix backlight polarity
Backlight polarity not works without pwm_adjust_config. Change-Id: I11e5eefe340f758b6721021f13238306b3721270 Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
This commit is contained in:
parent
b20e10aa93
commit
e16d8ea934
|
|
@ -307,6 +307,7 @@ static int pwm_backlight_probe(struct platform_device *pdev)
|
|||
|
||||
dev_dbg(&pdev->dev, "got pwm for backlight\n");
|
||||
|
||||
pwm_adjust_config(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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user