summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorManu Abraham <manu@linuxtv.org>2006-02-02 02:59:47 +0400
committerManu Abraham <manu@linuxtv.org>2006-02-02 02:59:47 +0400
commit424dbb28af98d9fca17a7f85cd152d018ddbd2c5 (patch)
tree33a62055eed9557b8eb58898890dae2f943f5b92 /linux/drivers
parent46452927ee0a6b0446136a3def8c03ff475953c1 (diff)
downloadmediapointer-dvb-s2-424dbb28af98d9fca17a7f85cd152d018ddbd2c5.tar.gz
mediapointer-dvb-s2-424dbb28af98d9fca17a7f85cd152d018ddbd2c5.tar.bz2
bugfix [5895], return an error value
From: Juampe <juampe@iquis.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/bt8xx/bt878.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/bt878.c b/linux/drivers/media/dvb/bt8xx/bt878.c
index d98699a0e..34c3189a1 100644
--- a/linux/drivers/media/dvb/bt8xx/bt878.c
+++ b/linux/drivers/media/dvb/bt8xx/bt878.c
@@ -435,6 +435,8 @@ static int __devinit bt878_probe(struct pci_dev *dev,
if (!has_dvb) {
printk("%s: card id=[0x%x], Unknown card.\nExiting..\n", __func__, cardid);
+ result = -EINVAL;
+
goto fail0;
}