diff options
author | Jihoon Bang <jbang@nvidia.com> | 2012-03-26 14:24:22 -0700 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-04-24 01:22:44 -0700 |
commit | c458d6187bc932347e69360e548df3a695f9a9d2 (patch) | |
tree | 65ed1062e33a021ccd335e1f1858ddf9fe68a60c /include | |
parent | 0850e9f71608d041b059e65169d22ffaabcf7607 (diff) |
media: video: tegra: tegra_camera: re-arch power and clock
There are a couple of issues found in tegra_camera.
1. clock enable/disable is controlled by user space.
-> If client process crashes, there is no way to disable clock.
2. power enable/disable is associated with clock enable.
-> There is no reason to relate power with clock.
-> There is only one regulator for this driver.
-> As same as #1, it may leave power up when client process crashes.
3. driver allows multiple clients to access.
-> This is not the case for this driver.
This changes addresses the problems described above.
Bug 948780
Change-Id: Ie534771327175f56cf0e138f1c07096ddba470a8
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/92386
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/tegra_camera.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/tegra_camera.h b/include/media/tegra_camera.h index d7d08bd9a99b..8ee290758262 100644 --- a/include/media/tegra_camera.h +++ b/include/media/tegra_camera.h @@ -23,6 +23,7 @@ enum { TEGRA_CAMERA_MODULE_ISP = 0, TEGRA_CAMERA_MODULE_VI, TEGRA_CAMERA_MODULE_CSI, + TEGRA_CAMERA_MODULE_MAX, }; enum { |