Browse Source

[PATCH] dvb: av7110: fix VIDEO_SET_DISPLAY_FORMAT

VIDEO_SET_DISPLAY_FORMAT ioctl fixed:
set videostate.display_format, not videostate.video_format (Oliver Endriss)

Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Johannes Stezenbach 20 năm trước cách đây
mục cha
commit
a65d3bb717
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/media/dvb/ttpci/av7110_av.c

+ 1 - 1
drivers/media/dvb/ttpci/av7110_av.c

@@ -1075,7 +1075,7 @@ static int dvb_video_ioctl(struct inode *inode, struct file *file,
 		}
 		if (ret < 0)
 			break;
-		av7110->videostate.video_format = format;
+		av7110->videostate.display_format = format;
 		ret = av7110_fw_cmd(av7110, COMTYPE_ENCODER, SetPanScanType,
 				    1, (u16) val);
 		break;