[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: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
2031941502
commit
8410725333
@ -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;
|
||||||
|
Reference in New Issue
Block a user