Browse Source

[media] drxk: Fix error return code during drxk init

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab 14 years ago
parent
commit
e716adacef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/dvb/frontends/drxk_hard.c

+ 1 - 1
drivers/media/dvb/frontends/drxk_hard.c

@@ -6171,7 +6171,7 @@ error:
 	if (status < 0)
 		printk(KERN_ERR "drxk: Error %d on %s\n", status, __func__);
 
-	return 0;
+	return status;
 }
 
 static void drxk_c_release(struct dvb_frontend *fe)