Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92702
b: refs/heads/master
c: 9c26de5
h: refs/heads/master
v: v3
  • Loading branch information
Steven Toth authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent 963ef28 commit e7b6140
Show file tree
Hide file tree
Showing 3 changed files with 8 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: c32d4d7510ae4da4e83bbd6e6471b04e9c9108ea
refs/heads/master: 9c26de555dd3c2cb9833b4d324150aa6b5547b91
1 change: 1 addition & 0 deletions trunk/drivers/media/video/au0828/au0828-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ static int au0828_usb_probe (struct usb_interface *interface,
au0828_dvb_register(dev);

_info("Registered device AU0828 [%s]\n",
au0828_boards[dev->board].name == NULL ? "Unset" :
au0828_boards[dev->board].name);

return 0;
Expand Down
6 changes: 6 additions & 0 deletions trunk/drivers/media/video/au0828/au0828-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ static void urb_completion(struct urb *purb)
struct au0828_dev *dev = purb->context;
int ptype = usb_pipetype(purb->pipe);

if (!dev)
return;

if (dev->urb_streaming == 0)
return;

Expand Down Expand Up @@ -310,6 +313,9 @@ void au0828_dvb_unregister(struct au0828_dev *dev)
{
struct au0828_dvb *dvb = &dev->dvb;

if(dvb->frontend == NULL)
return;

dvb_net_release(&dvb->net);
dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem);
dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw);
Expand Down

0 comments on commit e7b6140

Please sign in to comment.