diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-04-26 07:48:26 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-29 17:41:34 -0400 |
commit | ecfcc83b8d6ff8ac65b072b309a1774ca52d955e (patch) | |
tree | 715144aae77cf9fbaa91c3787122478594d41b89 /drivers/media/video/ivtv/ivtv-driver.c | |
parent | d86e2ee98eeef61bdab8ca1bf4837c5709173790 (diff) |
V4L/DVB (7755): ivtv: add support for card comments and detected but unsupported cards
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-driver.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-driver.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c index 06a1f3c4de4..e6f319f7a1b 100644 --- a/drivers/media/video/ivtv/ivtv-driver.c +++ b/drivers/media/video/ivtv/ivtv-driver.c | |||
@@ -1097,6 +1097,13 @@ static int __devinit ivtv_probe(struct pci_dev *dev, | |||
1097 | The PCI IDs are not always reliable. */ | 1097 | The PCI IDs are not always reliable. */ |
1098 | ivtv_process_eeprom(itv); | 1098 | ivtv_process_eeprom(itv); |
1099 | } | 1099 | } |
1100 | if (itv->card->comment) | ||
1101 | IVTV_INFO("%s", itv->card->comment); | ||
1102 | if (itv->card->v4l2_capabilities == 0) { | ||
1103 | /* card was detected but is not supported */ | ||
1104 | retval = -ENODEV; | ||
1105 | goto free_i2c; | ||
1106 | } | ||
1100 | 1107 | ||
1101 | if (itv->std == 0) { | 1108 | if (itv->std == 0) { |
1102 | itv->std = V4L2_STD_NTSC_M; | 1109 | itv->std = V4L2_STD_NTSC_M; |