mirror of
https://github.com/torvalds/linux
synced 2024-09-06 18:01:05 +00: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 <hverkuil@xs4all.nl> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
b29fd5639c
commit
43feabdbcc
|
@ -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