Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63172
b: refs/heads/master
c: c812b67
h: refs/heads/master
v: v3
  • Loading branch information
Trent Piepho authored and Mauro Carvalho Chehab committed Jul 30, 2007
1 parent f80fb06 commit f6592e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 80ba80a9bf25d251237694c3fcee850a73324532
refs/heads/master: c812b67ca4ed13fa5ec60f06c4ed8f648722a186
6 changes: 3 additions & 3 deletions trunk/drivers/media/video/zoran_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -3704,11 +3704,11 @@ zoran_do_ioctl (struct inode *inode,
dprintk(3, KERN_DEBUG "%s: VIDIOC_S_STD - norm=0x%llx\n",
ZR_DEVNAME(zr), (unsigned long long)*std);

if (*std == V4L2_STD_PAL)
if ((*std & V4L2_STD_PAL) && !(*std & ~V4L2_STD_PAL))
norm = VIDEO_MODE_PAL;
else if (*std == V4L2_STD_NTSC)
else if ((*std & V4L2_STD_NTSC) && !(*std & ~V4L2_STD_NTSC))
norm = VIDEO_MODE_NTSC;
else if (*std == V4L2_STD_SECAM)
else if ((*std & V4L2_STD_SECAM) && !(*std & ~V4L2_STD_SECAM))
norm = VIDEO_MODE_SECAM;
else if (*std == V4L2_STD_ALL)
norm = VIDEO_MODE_AUTO;
Expand Down
1 change: 0 additions & 1 deletion trunk/include/linux/pm.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

#include <linux/list.h>
#include <asm/atomic.h>
#include <asm/errno.h>

/*
* Power management requests... these are passed to pm_send_all() and friends.
Expand Down

0 comments on commit f6592e1

Please sign in to comment.