summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2011-09-21 15:18:45 -0400
committerSean Paul <seanpaul@chromium.org>2011-09-27 09:08:21 -0700
commitfa9e36d6efa9d75a2e8dc79a95d5b3a66d9d000e (patch)
treed6290395581adb7c290a9c87800b75ff3c1771a6 /common
parent9cc79dbbd72b2200763357a0c0fdd16190f3ed5e (diff)
CHROMIUM: ARM: tegra: asymptote: Fix Asymptote backlight vdd enable line
This line is a NC on Asymptote, but right now we're using the pwm line (incorrectly). This CL removes the backlight-vdd line from Asymptote dts and ensures that it's safely ignored if it's missing. BUG=None TEST=Built u-boot for Asymptote and flashed it on the device. Ensured that the backlight still works in u-boot. Change-Id: Id751b6756bac120e2211b7b32c58f356ff30b767 Signed-off-by: Sean Paul <seanpaul@chromium.org> Reviewed-on: http://gerrit.chromium.org/gerrit/8063 Reviewed-by: Jon Kliegman <kliegs@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/fdt_decode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/fdt_decode.c b/common/fdt_decode.c
index adad546fb0..e204368606 100644
--- a/common/fdt_decode.c
+++ b/common/fdt_decode.c
@@ -518,8 +518,7 @@ int fdt_decode_lcd(const void *blob, struct fdt_lcd *config)
&config->backlight_en);
err |= fdt_decode_gpio(blob, node, "lvds-shutdown",
&config->lvds_shutdown);
- err |= fdt_decode_gpio(blob, node, "backlight-vdd",
- &config->backlight_vdd);
+ fdt_decode_gpio(blob, node, "backlight-vdd", &config->backlight_vdd);
err |= fdt_decode_gpio(blob, node, "panel-vdd", &config->panel_vdd);
if (err)
return -FDT_ERR_MISSING;