Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254959
b: refs/heads/master
c: 2d19693
h: refs/heads/master
i:
  254957: 15c5be2
  254955: 4ada848
  254951: 2ab395c
  254943: 516451b
v: v3
  • Loading branch information
Devin Heitmueller authored and Mauro Carvalho Chehab committed Jul 13, 2011
1 parent e9de54f commit ee87203
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 42a741dcf1472cea55193ea8611db3d67808ce22
refs/heads/master: 2d1969312d6319d28ae9609a84f969b6933bd51c
8 changes: 8 additions & 0 deletions trunk/drivers/media/dvb/dvb-core/dvb_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -1988,6 +1988,14 @@ static int dvb_frontend_open(struct inode *inode, struct file *file)
if (dvbdev->users == -1 && fe->ops.ts_bus_ctrl) {
if ((ret = fe->ops.ts_bus_ctrl(fe, 1)) < 0)
goto err0;

/* If we took control of the bus, we need to force
reinitialization. This is because many ts_bus_ctrl()
functions strobe the RESET pin on the demod, and if the
frontend thread already exists then the dvb_init() routine
won't get called (which is what usually does initial
register configuration). */
fepriv->reinitialise = 1;
}

if ((ret = dvb_generic_open (inode, file)) < 0)
Expand Down

0 comments on commit ee87203

Please sign in to comment.