* [PATCH resend] video: Test cmd, not definition in decoder_command(), drivers/media/video/zoran_device.c
@ 2008-03-27 23:51 Roel Kluin
0 siblings, 0 replies; only message in thread
From: Roel Kluin @ 2008-03-27 23:51 UTC (permalink / raw)
To: mchehab, v4l-dvb-maintainer; +Cc: video4linux-list, lkml
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>
---
diff --git a/drivers/media/video/zoran_device.c b/drivers/media/video/zoran_device.c
index 68c7c50..adf3f41 100644
--- a/drivers/media/video/zoran_device.c
+++ b/drivers/media/video/zoran_device.c
@@ -1726,7 +1726,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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-03-27 23:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-27 23:51 [PATCH resend] video: Test cmd, not definition in decoder_command(), drivers/media/video/zoran_device.c Roel Kluin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox