Skip to content

Commit

Permalink
[media] siano: add two missing fields to ISDB-T stats debugfs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed Mar 21, 2013
1 parent 503efe5 commit 4cce1f4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/media/common/siano/smsdvb-debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 4cce1f4

Please sign in to comment.