diff --git a/[refs] b/[refs] index b478aa6081e8..7b61415da72b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 80ba80a9bf25d251237694c3fcee850a73324532 +refs/heads/master: c812b67ca4ed13fa5ec60f06c4ed8f648722a186 diff --git a/trunk/drivers/media/video/zoran_driver.c b/trunk/drivers/media/video/zoran_driver.c index 17118a490f81..fac97cb5a828 100644 --- a/trunk/drivers/media/video/zoran_driver.c +++ b/trunk/drivers/media/video/zoran_driver.c @@ -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; diff --git a/trunk/include/linux/pm.h b/trunk/include/linux/pm.h index 48b71badfb4c..e52f6f83c061 100644 --- a/trunk/include/linux/pm.h +++ b/trunk/include/linux/pm.h @@ -25,7 +25,6 @@ #include #include -#include /* * Power management requests... these are passed to pm_send_all() and friends.