media: video: tegra: add EMC clock rate control
authorJihoon Bang <jbang@nvidia.com>
Thu, 3 May 2012 19:20:00 +0000 (12:20 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 21 May 2012 09:40:46 +0000 (14:40 +0530)
commit059c2dd117264f0a8fa1208ceb22e6062b1e2447
tree8f80169e5ed27110b7364a05278af2bfa7823575
parentbc8d10929aa2868de644bc5300bc810b853d6077
media: video: tegra: add EMC clock rate control

Add EMC clock rate control to tegra_camera ioctl.
This change allows user space to change EMC clock requirement
for camera based on use case and resolution.

For example, video recording use case needs more than double
memory bandwidth of preview use case.

Bug 964635

Change-Id: Ibe5a77a810869b53b6e057f2ee62ebb96997c2f4
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/101274
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
drivers/media/video/tegra/tegra_camera.c
include/media/tegra_camera.h