]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
drivers: tegra: max77665-flash: flash level update
authorCharlie Huang <chahuang@nvidia.com>
Wed, 24 Oct 2012 00:52:29 +0000 (17:52 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 08:04:59 +0000 (01:04 -0700)
commite841496b945751f478ae939b0ec4085738015622
treed09b0b6b8bf0c2487f4153ece3843792f13de2e5
parentd4f2bc5c8a6ab55683a79c365013804ed8501714
drivers: tegra: max77665-flash: flash level update

add logic to assign flash/torch level 0 as disable flash/torch functions.
from the hardware's spec, level 0 means the lowest current 16.625mA.

add torch-by-i2c trigger option and set it as default.

also optimized the power on/off sequences.

bug 1155623
bug 1110380
bug 1116953

Change-Id: I1d592a173c4694287dff1543b21a92e3efcd8f2e
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
(cherry picked from commit e799bf696300020045ab7284e007a87accbf9404)
Reviewed on: http://git-master/r/#change,145113
Reviewed-on: http://git-master/r/146034
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Rebase-Id: R58ae8f7497e2f18d6174e6e8cbd75ebb32b6b337
drivers/media/video/tegra/max77665-flash.c
include/media/max77665-flash.h