From: Simon Glass Date: Fri, 2 Jun 2017 21:04:23 -0600 Subject: [U-Boot] [PATCH v2 28/31] tegra: Show a debug message if the LCD PMIC fails to start In-Reply-To: <20170603030426.16107-1-sjg@chromium.org> References: <20170603030426.16107-1-sjg@chromium.org> Message-ID: <20170603030426.16107-29-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This error condition should have a debug() message. Add it. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/mach-tegra/board2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-tegra/board2.c b/arch/arm/mach-tegra/board2.c index 0291c7fb33..e0a39e1a32 100644 --- a/arch/arm/mach-tegra/board2.c +++ b/arch/arm/mach-tegra/board2.c @@ -150,8 +150,10 @@ int board_init(void) #if defined(CONFIG_DM_VIDEO) board_id = tegra_board_id(); err = tegra_lcd_pmic_init(board_id); - if (err) + if (err) { + debug("Failed to set up LCD PMIC\n"); return err; + } #endif #ifdef CONFIG_TEGRA_NAND -- 2.13.0.506.g27d5fe0cd-goog