diff options
author | Gaurav Batra <gbatra@nvidia.com> | 2014-01-27 17:56:41 -0800 |
---|---|---|
committer | Thomas Cherry <tcherry@nvidia.com> | 2014-01-30 17:16:39 -0800 |
commit | 93cbef6454d6548c5267dae0cb4f063064abb012 (patch) | |
tree | 2cff29c29cdc8490a197e2388be9c49eb2f700ee /drivers | |
parent | 61129bead6a28d5d1d4fa5426c2a687218be0769 (diff) |
media: platform: tegra: fix whitebalance and ev
Front camera regressed after T132 merge and whitebalance and ev were not getting
set properly, this change fixes the regression.
Bug 1448517
Change-Id: Ic3eecfcfdc492e43da69d86cfeec9873360f840d
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/360661
(cherry picked from commit bdc306a87af718f03b24002b017bf254f44efb3d)
Reviewed-on: http://git-master/r/361634
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/platform/tegra/mt9m114.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/tegra/mt9m114.c b/drivers/media/platform/tegra/mt9m114.c index 1798868f6f8b..d693356d63bb 100644 --- a/drivers/media/platform/tegra/mt9m114.c +++ b/drivers/media/platform/tegra/mt9m114.c @@ -736,7 +736,7 @@ static long mt9m114_ioctl(struct file *file, err = mt9m114_set_mode(info, &mode); break; } - case MT9M114_SENSOR_IOCTL_SET_WHITE_BALANCE: + case _IOC_NR(MT9M114_SENSOR_IOCTL_SET_WHITE_BALANCE): { u8 whitebalance; @@ -776,7 +776,7 @@ static long mt9m114_ioctl(struct file *file, return 0; } - case MT9M114_SENSOR_IOCTL_SET_EV: + case _IOC_NR(MT9M114_SENSOR_IOCTL_SET_EV): { short ev; |