Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17305
b: refs/heads/master
c: 2c3f11b
h: refs/heads/master
i:
  17303: c92201a
v: v3
  • Loading branch information
Stephen Williams authored and Mauro Carvalho Chehab committed Jan 9, 2006
1 parent 64cddec commit 0375122
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d21838dd7d098e102ced2fafed62dcb133c4d71c
refs/heads/master: 2c3f11b20fc6c41b4d3f64f301f525e35f18b6bc
11 changes: 8 additions & 3 deletions trunk/drivers/media/dvb/cinergyT2/cinergyT2.c
Original file line number Diff line number Diff line change
Expand Up @@ -564,10 +564,15 @@ static int cinergyt2_ioctl (struct inode *inode, struct file *file,
(__u16 __user *) arg);

case FE_READ_UNCORRECTED_BLOCKS:
/* UNC are already converted to host byte order... */
return put_user(stat->uncorrected_block_count,
(__u32 __user *) arg);
{
uint32_t unc_count;

unc_count = stat->uncorrected_block_count;
stat->uncorrected_block_count = 0;

/* UNC are already converted to host byte order... */
return put_user(unc_count,(__u32 __user *) arg);
}
case FE_SET_FRONTEND:
{
struct dvbt_set_parameters_msg *param = &cinergyt2->param;
Expand Down

0 comments on commit 0375122

Please sign in to comment.