From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Thu, 12 Jun 2014 10:31:26 -0600 Subject: [U-Boot] [PATCH] tegra20: display: fix checking of return value In-Reply-To: <1402521148-19304-1-git-send-email-jeroen@myspectrum.nl> References: <1402521148-19304-1-git-send-email-jeroen@myspectrum.nl> Message-ID: <5399D5DE.5030406@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06/11/2014 03:12 PM, Jeroen Hofstee wrote: > The calling code seems a bit in doubt about the return > value of fdtdec_lookup_phandle. Since it returns a negative > value on error (and fdt_node_offset_by_phandle as well), > check for that. Tested-by: Stephen Warren (On Seaboard/Springbank; booted via tegrarcm and the LCD still works)