[PATCH v2 3/4] backlight: tps65217_bl: fix device-tree node lookup
Lee Jones
lee.jones at linaro.org
Wed Nov 29 11:29:13 UTC 2017
On Mon, 20 Nov 2017, Johan Hovold wrote:
> Fix child-node lookup during probe, which ended up searching the whole
> device tree depth-first starting at the parent rather than just matching
> on its children.
>
> This would only cause trouble if the child node is missing while there
> is an unrelated node named "backlight" elsewhere in the tree.
>
> Fixes: eebfdc17cc6c ("backlight: Add TPS65217 WLED driver")
> Cc: stable <stable at vger.kernel.org> # 3.7
> Cc: Matthias Kaehlcke <matthias at kaehlcke.net>
> Signed-off-by: Johan Hovold <johan at kernel.org>
> ---
> drivers/video/backlight/tps65217_bl.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
More information about the dri-devel
mailing list