summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tda9887.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2005-09-09 22:03:59 +0200
committerLinus Torvalds2005-09-09 22:57:52 +0200
commit21d4df375be2c9e5f1002800036fbfb793cf031f (patch)
tree0b9f55c40e569bbb24d7996a2bdee144424f8888 /drivers/media/video/tda9887.c
parent[PATCH] v4l: correct the amux for composite and s-video inputs on the Sabrent... (diff)
downloadkernel-qcow2-linux-21d4df375be2c9e5f1002800036fbfb793cf031f.tar.gz
kernel-qcow2-linux-21d4df375be2c9e5f1002800036fbfb793cf031f.tar.xz
kernel-qcow2-linux-21d4df375be2c9e5f1002800036fbfb793cf031f.zip
[PATCH] v4l: print warning if pal= or secam= argument is unrecognized
- print warning if pal= or secam= argument is unrecognized Signed-off-by: Philip Rowlands <phr@doc.ic.ac.uk> Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/tda9887.c')
-rw-r--r--drivers/media/video/tda9887.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/media/video/tda9887.c b/drivers/media/video/tda9887.c
index 79e0bd1aa70f..0456dda2624d 100644
--- a/drivers/media/video/tda9887.c
+++ b/drivers/media/video/tda9887.c
@@ -23,6 +23,7 @@
TDA9887 (world), TDA9885 (USA)
Note: OP2 of tda988x must be set to 1, else MT2032 is disabled!
- KNC One TV-Station RDS (saa7134)
+ - Hauppauge PVR-150/500 (possibly more)
*/
@@ -519,6 +520,12 @@ static int tda9887_fixup_std(struct tda9887 *t)
dprintk(PREFIX "insmod fixup: PAL => PAL-DK\n");
t->std = V4L2_STD_PAL_DK;
break;
+ case '-':
+ /* default parameter, do nothing */
+ break;
+ default:
+ printk(PREFIX "pal= argument not recognised\n");
+ break;
}
}
if ((t->std & V4L2_STD_SECAM) == V4L2_STD_SECAM) {
@@ -535,6 +542,12 @@ static int tda9887_fixup_std(struct tda9887 *t)
dprintk(PREFIX "insmod fixup: SECAM => SECAM-L\n");
t->std = V4L2_STD_SECAM_L;
break;
+ case '-':
+ /* default parameter, do nothing */
+ break;
+ default:
+ printk(PREFIX "secam= argument not recognised\n");
+ break;
}
}
return 0;