Re: [PATCH] pwm-backlight: Avoid backlight flicker when probed from DT

2015-11-02 Thread Philipp Zabel
Hi Lee, Am Freitag, den 30.10.2015, 18:21 + schrieb Lee Jones: > > @@ -264,12 +266,32 @@ static int pwm_backlight_probe(struct platform_device > > *pdev) > > pb->enable_gpio = gpio_to_desc(data->enable_gpio); > > } > > > > + phandle = of_find_property(pdev->dev.of_node, "p

Re: [PATCH] pwm-backlight: Avoid backlight flicker when probed from DT

2015-10-30 Thread Lee Jones
On Thu, 29 Oct 2015, Philipp Zabel wrote: > If the driver is probed from the device tree, and there is a phandle > property set on it, and the enable GPIO is already configured as output, > and the backlight is currently disabled, keep it disabled. > If all these conditions are met, assume there w

[PATCH] pwm-backlight: Avoid backlight flicker when probed from DT

2015-10-29 Thread Philipp Zabel
If the driver is probed from the device tree, and there is a phandle property set on it, and the enable GPIO is already configured as output, and the backlight is currently disabled, keep it disabled. If all these conditions are met, assume there will be some other driver that can enable the backli

Re: [PATCH] pwm-backlight: Avoid backlight flicker when probed from DT

2015-07-13 Thread Philipp Zabel
Hi, Am Freitag, den 12.06.2015, 18:26 +0200 schrieb Philipp Zabel: > If the driver is probed from the device tree, and there is a phandle > property set on it, and the enable GPIO is already configured as output, > and the backlight is currently disabled, keep it disabled. > If all these condition

[PATCH] pwm-backlight: Avoid backlight flicker when probed from DT

2015-06-12 Thread Philipp Zabel
If the driver is probed from the device tree, and there is a phandle property set on it, and the enable GPIO is already configured as output, and the backlight is currently disabled, keep it disabled. If all these conditions are met, assume there will be some other driver that can enable the backli