Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138212
b: refs/heads/master
c: 220be77
h: refs/heads/master
v: v3
  • Loading branch information
Devin Heitmueller authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 71c2c7e commit 3d5398e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 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: fc4ce6cd9855dcd1151a9afc067ea354179089f9
refs/heads/master: 220be77c6e4302207c34afc78a98b4994f92f6e5
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/au0828/au0828-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ void au0828_card_setup(struct au0828_dev *dev)
break;
}

if (dev->board.input != NULL) {
if (AUVI_INPUT(0).type != AU0828_VMUX_UNDEFINED) {
/* Load the analog demodulator driver (note this would need to
be abstracted out if we ever need to support a different
demod) */
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/au0828/au0828-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ static void au0828_usb_disconnect(struct usb_interface *interface)
/* Digital TV */
au0828_dvb_unregister(dev);

if (dev->board.input != NULL)
if (AUVI_INPUT(0).type != AU0828_VMUX_UNDEFINED)
au0828_analog_unregister(dev);

/* I2C */
Expand Down Expand Up @@ -205,7 +205,7 @@ static int au0828_usb_probe(struct usb_interface *interface,
au0828_card_setup(dev);

/* Analog TV */
if (dev->board.input != NULL)
if (AUVI_INPUT(0).type != AU0828_VMUX_UNDEFINED)
au0828_analog_register(dev, interface);

/* Digital TV */
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/media/video/au0828/au0828.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
#define AU0828_MAX_INPUT 4

enum au0828_itype {
AU0828_VMUX_COMPOSITE = 1,
AU0828_VMUX_UNDEFINED = 0,
AU0828_VMUX_COMPOSITE,
AU0828_VMUX_SVIDEO,
AU0828_VMUX_CABLE,
AU0828_VMUX_TELEVISION,
Expand Down

0 comments on commit 3d5398e

Please sign in to comment.