aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-16 13:32:25 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 06:48:49 -0400
commit4cce1f4eb29765def538e7c975dac73346a0d306 (patch)
treea28d334455966d4e52200dcbc7a9e64621a0bab9
parent503efe5cfc9fb9f67a6659c4ab39174b442876f3 (diff)
[media] siano: add two missing fields to ISDB-T stats debugfs
Those fields help to identify the version of the ISDB stats. Useful while debuging the driver. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/common/siano/smsdvb-debugfs.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/common/siano/smsdvb-debugfs.c b/drivers/media/common/siano/smsdvb-debugfs.c
index 4d5dd471e2e1..59c7323f98d4 100644
--- a/drivers/media/common/siano/smsdvb-debugfs.c
+++ b/drivers/media/common/siano/smsdvb-debugfs.c
@@ -166,6 +166,11 @@ void smsdvb_print_isdb_stats(struct smsdvb_debugfs *debug_data,
166 buf = debug_data->stats_data; 166 buf = debug_data->stats_data;
167 167
168 n += snprintf(&buf[n], PAGE_SIZE - n, 168 n += snprintf(&buf[n], PAGE_SIZE - n,
169 "StatisticsType = %d\t", p->StatisticsType);
170 n += snprintf(&buf[n], PAGE_SIZE - n,
171 "FullSize = %d\n", p->FullSize);
172
173 n += snprintf(&buf[n], PAGE_SIZE - n,
169 "IsRfLocked = %d\t\t", p->IsRfLocked); 174 "IsRfLocked = %d\t\t", p->IsRfLocked);
170 n += snprintf(&buf[n], PAGE_SIZE - n, 175 n += snprintf(&buf[n], PAGE_SIZE - n,
171 "IsDemodLocked = %d\t", p->IsDemodLocked); 176 "IsDemodLocked = %d\t", p->IsDemodLocked);
@@ -251,6 +256,11 @@ void smsdvb_print_isdb_stats_ex(struct smsdvb_debugfs *debug_data,
251 buf = debug_data->stats_data; 256 buf = debug_data->stats_data;
252 257
253 n += snprintf(&buf[n], PAGE_SIZE - n, 258 n += snprintf(&buf[n], PAGE_SIZE - n,
259 "StatisticsType = %d\t", p->StatisticsType);
260 n += snprintf(&buf[n], PAGE_SIZE - n,
261 "FullSize = %d\n", p->FullSize);
262
263 n += snprintf(&buf[n], PAGE_SIZE - n,
254 "IsRfLocked = %d\t\t", p->IsRfLocked); 264 "IsRfLocked = %d\t\t", p->IsRfLocked);
255 n += snprintf(&buf[n], PAGE_SIZE - n, 265 n += snprintf(&buf[n], PAGE_SIZE - n,
256 "IsDemodLocked = %d\t", p->IsDemodLocked); 266 "IsDemodLocked = %d\t", p->IsDemodLocked);