[media] siano: add two missing fields to ISDB-T stats debugfs
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 16 Mar 2013 17:32:25 +0000 (14:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 10:48:49 +0000 (07:48 -0300)
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>
drivers/media/common/siano/smsdvb-debugfs.c

index 4d5dd471e2e1a5b3bef2762d52d66412c2706bbc..59c7323f98d459b3dabd5571a98f7d65e0d7249f 100644 (file)
@@ -165,6 +165,11 @@ void smsdvb_print_isdb_stats(struct smsdvb_debugfs *debug_data,
 
        buf = debug_data->stats_data;
 
+       n += snprintf(&buf[n], PAGE_SIZE - n,
+                     "StatisticsType = %d\t", p->StatisticsType);
+       n += snprintf(&buf[n], PAGE_SIZE - n,
+                     "FullSize = %d\n", p->FullSize);
+
        n += snprintf(&buf[n], PAGE_SIZE - n,
                      "IsRfLocked = %d\t\t", p->IsRfLocked);
        n += snprintf(&buf[n], PAGE_SIZE - n,
@@ -250,6 +255,11 @@ void smsdvb_print_isdb_stats_ex(struct smsdvb_debugfs *debug_data,
 
        buf = debug_data->stats_data;
 
+       n += snprintf(&buf[n], PAGE_SIZE - n,
+                     "StatisticsType = %d\t", p->StatisticsType);
+       n += snprintf(&buf[n], PAGE_SIZE - n,
+                     "FullSize = %d\n", p->FullSize);
+
        n += snprintf(&buf[n], PAGE_SIZE - n,
                      "IsRfLocked = %d\t\t", p->IsRfLocked);
        n += snprintf(&buf[n], PAGE_SIZE - n,