summaryrefslogtreecommitdiff
path: root/drivers/media/video
diff options
context:
space:
mode:
authorPhil Breczinski <pbreczinski@nvidia.com>2013-06-07 19:18:36 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:40:00 -0700
commitfab4307d50d8cce3dbe1e3c357261f83f07c1b73 (patch)
tree9143ea20949fce25d7224c7aa892a0abcb7b7ee9 /drivers/media/video
parentf89d4d0c1ddc6e2ae8a31bb5581bc4e0248f8da1 (diff)
media: video: tegra: ad5816: Fix focuspos type
Change focus position type from u16 to s32 so garbage bytes aren't passed to the raw header. Bug 1283378 Change-Id: I6a045ac93a3045e390cee9bd0a9772c6d7668290 Signed-off-by: Phil Breczinski <pbreczinski@nvidia.com> Reviewed-on: http://git-master/r/238131 (cherry picked from commit 6a46e0da47eb2cd9663bd5ad785625e54aa24d1f) Reviewed-on: http://git-master/r/255229 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: David Wang (SW-TEGRA) <davidw@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/tegra/ad5816.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tegra/ad5816.c b/drivers/media/video/tegra/ad5816.c
index 72d3279b7dbc..26f9dcdb38b1 100644
--- a/drivers/media/video/tegra/ad5816.c
+++ b/drivers/media/video/tegra/ad5816.c
@@ -131,7 +131,7 @@ struct ad5816_info {
atomic_t in_use;
bool reset_flag;
int pwr_dev;
- u32 pos;
+ s32 pos;
u16 dev_id;
u8 s_mode;
};