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 /arch/openrisc | |
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 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions