mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
media: v4l2-tpg: use __u16 instead of int for struct tpg_rbg_color16
Despite the struct says "color16", it was actually using 32 bits for each color. Fix it. Suggested-by: Hans Verkuil <[email protected]> Acked-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
b29fd5639c
commit
43feabdbcc
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ struct tpg_rbg_color8 {
|
|||
};
|
||||
|
||||
struct tpg_rbg_color16 {
|
||||
int r, g, b;
|
||||
__u16 r, g, b;
|
||||
};
|
||||
|
||||
enum tpg_color {
|
||||
|
|
|
|||
Loading…
Reference in a new issue