media: v4l2-compat-ioctl32: use compat_u64 for video standard 92/175692/1
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 28 Mar 2018 18:12:36 +0000 (15:12 -0300)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 11 Apr 2018 11:59:19 +0000 (20:59 +0900)
Instead of using the "v4l2_std_id" typedef, use compat_u64,
as otherwise it fails to properly handle some ioctls.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[sw0312.kim: cherry-pick from linux-3.18.y]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I90b98df2c23d496133e7bd16a60f5150dba55624

drivers/media/v4l2-core/v4l2-compat-ioctl32.c

index 4b6c0a2bf5f9800b8143e4b38db142b5630b8035..3e786d5cd950dc37c17300d096863164b7e580bb 100644 (file)
@@ -688,7 +688,7 @@ struct v4l2_input32 {
        __u32        type;              /*  Type of input */
        __u32        audioset;          /*  Associated audios (bitfield) */
        __u32        tuner;             /*  Associated tuner */
-       v4l2_std_id  std;
+       compat_u64   std;
        __u32        status;
        __u32        capabilities;
        __u32        reserved[3];