Commit 84107253 authored by Sachin Kamat's avatar Sachin Kamat Committed by Mauro Carvalho Chehab

[media] s3c-camif: Fix incorrect variable type

'rotation' was an 8 bit variable and hence could not have values
greater than 255. Since we need higher values, change it to 16
bit type.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 20319415
...@@ -229,7 +229,7 @@ struct camif_vp { ...@@ -229,7 +229,7 @@ struct camif_vp {
unsigned int state; unsigned int state;
u16 fmt_flags; u16 fmt_flags;
u8 id; u8 id;
u8 rotation; u16 rotation;
u8 hflip; u8 hflip;
u8 vflip; u8 vflip;
unsigned int offset; unsigned int offset;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment