diff options
author | Graziano Misuraca <gmisuraca@nvidia.com> | 2012-04-02 12:56:35 -0700 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-07-12 08:21:18 -0700 |
commit | 479b0c165fa230e8ae899c3a74d8f3aa82d10743 (patch) | |
tree | f30d50cea8d30972ced557e4b8c17421d81b1e14 | |
parent | 254ad680e6507a7056f05b0e3360f0109340e605 (diff) |
ARM: Tegra: cardhu: No longer invert backlight on PM313
Backlight value was inverted for panels with PM313.
This assumed the panel was the 15", but because the
10.1" (AUO) is more prevalent and doesn't have the
inverted backlight signal we no longer need to
invert it. Note this will fix the backlight issue
for AUO E1198 boards but break it for 15".
Bug 962636
Reviewed-on: http://git-master/r/#change,93965
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Change-Id: Icb65592eb2df21e349e5a759a780e4438a0f5b26
Reviewed-on: http://git-master/r/95728
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu-panel.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-panel.c b/arch/arm/mach-tegra/board-cardhu-panel.c index 0e91bb1c3c35..6fa33f919dad 100644 --- a/arch/arm/mach-tegra/board-cardhu-panel.c +++ b/arch/arm/mach-tegra/board-cardhu-panel.c @@ -250,13 +250,7 @@ static int cardhu_backlight_notify(struct device *unused, int brightness) if (brightness > 255) { pr_info("Error: Brightness > 255!\n"); } else { - /* This value depends on the panel. - Current 19X12 panel with PM313 gets - full brightness when the output is 0. */ - if (display_board_info.board_id == BOARD_DISPLAY_PM313) - brightness = 255 - bl_output[brightness]; - else - brightness = bl_output[brightness]; + brightness = bl_output[brightness]; } return brightness; |