From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout2.samsung.com ([203.254.224.25]:62747 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751538AbdL2RX2 (ORCPT ); Fri, 29 Dec 2017 12:23:28 -0500 From: Bartlomiej Zolnierkiewicz To: Johan Hovold Cc: Nicolas Ferre , Alexandre Belloni , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, stable , Jean-Christophe PLAGNIOL-VILLARD Subject: Re: [PATCH] video: fbdev: atmel_lcdfb: fix display-timings lookup Date: Fri, 29 Dec 2017 18:23:23 +0100 Message-id: <1971311.3PN1zRAlXO@amdc3058> In-reply-to: <20171113102719.9634-1-johan@kernel.org> MIME-version: 1.0 Content-transfer-encoding: 7Bit Content-type: text/plain; charset="us-ascii" References: <20171113102719.9634-1-johan@kernel.org> Sender: stable-owner@vger.kernel.org List-ID: On Monday, November 13, 2017 11:27:19 AM 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. > > To make things worse, the parent display node was also prematurely > freed. > > Note that the display and timings node references are never put after a > successful dt-initialisation so the nodes would leak on later probe > deferrals and on driver unbind. > > Fixes: b985172b328a ("video: atmel_lcdfb: add device tree suport") > Cc: stable # 3.13 > Cc: Jean-Christophe PLAGNIOL-VILLARD > Signed-off-by: Johan Hovold Patch queued for 4.16, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics