diff options
author | Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> | 2013-04-23 15:59:01 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:12:42 -0700 |
commit | 2f77ddceb60bcbbe94618b2835d4e53f2bbdc8fb (patch) | |
tree | e2119475aae51aae42a2aa7a40fe785d26c5ba41 /arch/arm/mach-tegra/panel-l-720p-5.c | |
parent | bf4bc8d44e6a4150cf7de162a1ec1e4f2bb43314 (diff) |
arm: tegra: ceres: update avdd_lcd_ext for LG panel
removed the use of avvd_lcd_ext regular and enabled
avdd_lcd regulator for LG panel
Bug 1229385
Change-Id: Id49b2aa0c5abf1cd2b3bf83dae629155f8b80376
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/222034
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/panel-l-720p-5.c')
-rw-r--r-- | arch/arm/mach-tegra/panel-l-720p-5.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/panel-l-720p-5.c b/arch/arm/mach-tegra/panel-l-720p-5.c index fe80bbef6324..9db15aa1dda9 100644 --- a/arch/arm/mach-tegra/panel-l-720p-5.c +++ b/arch/arm/mach-tegra/panel-l-720p-5.c @@ -420,11 +420,8 @@ static int dsi_l_720p_5_reg_get(void) if (dsi_l_720p_5_reg_requested) return 0; -#ifdef CONFIG_ARCH_TEGRA_14x_SOC - avdd_lcd_3v0_2v8 = regulator_get(NULL, "avdd_lcd_ext"); -#else avdd_lcd_3v0_2v8 = regulator_get(NULL, "avdd_lcd"); -#endif + if (IS_ERR_OR_NULL(avdd_lcd_3v0_2v8)) { pr_err("avdd_lcd regulator get failed\n"); err = PTR_ERR(avdd_lcd_3v0_2v8); |