summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7164/saa7164-api.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@kernellabs.com>2010-07-31 16:17:51 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 07:55:12 -0200
commit0b62ceb03545099f0ab43a787cef5307b34b2fe4 (patch)
treeb63d010d27d9bb9506c70a87f32267ec5aaa2d57 /drivers/media/video/saa7164/saa7164-api.c
parent6d152c200e8630dcebcac094d4beff37c1288281 (diff)
[media] saa7164: collect/show the firmware debugging via a thread
Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164/saa7164-api.c')
-rw-r--r--drivers/media/video/saa7164/saa7164-api.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/video/saa7164/saa7164-api.c b/drivers/media/video/saa7164/saa7164-api.c
index 01cf4ab13b0..cf8337dd7bd 100644
--- a/drivers/media/video/saa7164/saa7164-api.c
+++ b/drivers/media/video/saa7164/saa7164-api.c
@@ -24,7 +24,7 @@
#include "saa7164.h"
-int saa7164_api_collect_debug(struct saa7164_dev *dev, struct seq_file *m)
+int saa7164_api_collect_debug(struct saa7164_dev *dev)
{
tmComResDebugGetData_t d;
u8 more = 255;
@@ -45,8 +45,7 @@ int saa7164_api_collect_debug(struct saa7164_dev *dev, struct seq_file *m)
if (d.dwResult != SAA_OK)
break;
- seq_printf(m, "%s", d.ucDebugData);
-
+ printk(KERN_INFO "saa7164[%d]-FWMSG: %s", dev->nr, d.ucDebugData);
}
return 0;