V4L/DVB (4582): VIDIOC_INT_S_REGISTER is IOW, not IOR.
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 1 Sep 2006 21:32:55 +0000 (18:32 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 26 Sep 2006 15:30:35 +0000 (12:30 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
include/media/v4l2-common.h

index ce24a6ad445cebf816f67c7d8b595b5c3c0d4a86..aecc946980a3a7da00ce0f7b90fbaf70248bf7a1 100644 (file)
@@ -173,7 +173,7 @@ enum v4l2_chip_ident {
 #define VIDIOC_INT_S_STANDBY        _IOW('d', 94, u32)
 
 /* only implemented if CONFIG_VIDEO_ADV_DEBUG is defined */
-#define        VIDIOC_INT_S_REGISTER           _IOR ('d', 100, struct v4l2_register)
+#define        VIDIOC_INT_S_REGISTER           _IOW ('d', 100, struct v4l2_register)
 #define        VIDIOC_INT_G_REGISTER           _IOWR('d', 101, struct v4l2_register)
 
 /* Generic reset command. The argument selects which subsystems to reset.