aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/zoran_device.c
diff options
context:
space:
mode:
authorRoel Kluin <12o3l@tiscali.nl>2008-03-27 23:51:05 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 14:07:56 -0300
commit7bf9746d936740f9797c810ad75411a6cdeb9f2f (patch)
tree9c4025f0687422cb758014dd2838786b6abe4e96 /drivers/media/video/zoran_device.c
parent95a2fdb6f78c020026b4fa82be506ef92961a9f6 (diff)
downloadkernel_samsung_aries-7bf9746d936740f9797c810ad75411a6cdeb9f2f.zip
kernel_samsung_aries-7bf9746d936740f9797c810ad75411a6cdeb9f2f.tar.gz
kernel_samsung_aries-7bf9746d936740f9797c810ad75411a6cdeb9f2f.tar.bz2
V4L/DVB (7459): Test cmd, not definition in decoder_command(), drivers/media/video/zoran_device.c
include/linux/video_decoder.h: 34:#define DECODER_SET_NORM _IOW('d', 3, int) 35:#define DECODER_SET_INPUT _IOW('d', 4, int) untested, please confirm it's right. Test cmd value, not definition of DECODER_SET_INPUT Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/zoran_device.c')
-rw-r--r--drivers/media/video/zoran_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/zoran_device.c b/drivers/media/video/zoran_device.c
index 10686c6..05b16a2 100644
--- a/drivers/media/video/zoran_device.c
+++ b/drivers/media/video/zoran_device.c
@@ -1727,7 +1727,7 @@ decoder_command (struct zoran *zr,
return -EIO;
if (zr->card.type == LML33 &&
- (cmd == DECODER_SET_NORM || DECODER_SET_INPUT)) {
+ (cmd == DECODER_SET_NORM || cmd == DECODER_SET_INPUT)) {
int res;
// Bt819 needs to reset its FIFO buffer using #FRST pin and