video: tegra: max8831: Fix android to kernel brightness map
authorAnimesh Kishore <ankishore@nvidia.com>
Thu, 4 Oct 2012 21:56:15 +0000 (14:56 -0700)
committerSimone Willett <swillett@nvidia.com>
Thu, 25 Oct 2012 23:15:36 +0000 (16:15 -0700)
commit06939ff903e33fb2da5017327d34c70e45e328dd
tree9a762369517258a409fa5d852ee9539a84dfd1f7
parent985372b91d834d0023a81350d2bf4c10949f7e7b
video: tegra: max8831: Fix android to kernel brightness map

Map 0-255 android brightness to 0-127 max8831 range.

Bug 1053872

Change-Id: I5e491182d7bfe181099118eb463f8c04a22f9ca8
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/141726
(cherry picked from commit c90452a5ec3798369669658d202d8ac892d712c9)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146684
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
drivers/video/backlight/max8831_bl.c