aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7164/saa7164-api.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@kernellabs.com>2010-07-31 15:17:51 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 05:55:12 -0400
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 01cf4ab13b0f..cf8337dd7bdf 100644
--- a/drivers/media/video/saa7164/saa7164-api.c
+++ b/drivers/media/video/saa7164/saa7164-api.c
@@ -24,7 +24,7 @@
24 24
25#include "saa7164.h" 25#include "saa7164.h"
26 26
27int saa7164_api_collect_debug(struct saa7164_dev *dev, struct seq_file *m) 27int saa7164_api_collect_debug(struct saa7164_dev *dev)
28{ 28{
29 tmComResDebugGetData_t d; 29 tmComResDebugGetData_t d;
30 u8 more = 255; 30 u8 more = 255;
@@ -45,8 +45,7 @@ int saa7164_api_collect_debug(struct saa7164_dev *dev, struct seq_file *m)
45 if (d.dwResult != SAA_OK) 45 if (d.dwResult != SAA_OK)
46 break; 46 break;
47 47
48 seq_printf(m, "%s", d.ucDebugData); 48 printk(KERN_INFO "saa7164[%d]-FWMSG: %s", dev->nr, d.ucDebugData);
49
50 } 49 }
51 50
52 return 0; 51 return 0;