summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-06-07 09:37:20 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-07 09:37:20 -0300
commit0c8a03efa72c55b8afac86637a5dea2cc69033ae (patch)
tree10e58dd8fc6cb23cc9255b4afcdd498744f4ff15
parent7ecb0f0772a6a302dcab252688cb4e08949bcb1c (diff)
downloadmediapointer-dvb-s2-0c8a03efa72c55b8afac86637a5dea2cc69033ae.tar.gz
mediapointer-dvb-s2-0c8a03efa72c55b8afac86637a5dea2cc69033ae.tar.bz2
Improves debug msg for unsupported fourcc standards
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--linux/drivers/media/video/vivi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/vivi.c b/linux/drivers/media/video/vivi.c
index ec11f19bb..2964b0ee3 100644
--- a/linux/drivers/media/video/vivi.c
+++ b/linux/drivers/media/video/vivi.c
@@ -983,7 +983,8 @@ static int vidioc_try_fmt_cap (struct file *file, void *priv,
unsigned int maxw, maxh;
if (format.fourcc != f->fmt.pix.pixelformat) {
- dprintk(1,"Fourcc format invalid.\n");
+ dprintk(1,"Fourcc format (0x%08x) invalid. Driver accepts "
+ "only 0x%08x\n",f->fmt.pix.pixelformat,format.fourcc);
return -EINVAL;
}
fmt=&format;