[media] drxk: Fix error return code during drxk init
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Jul 2011 22:35:04 +0000 (19:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:56:03 +0000 (17:56 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/drxk_hard.c

index 56949553b929422a81e1c9fc8338a5c3e8e5736e..5b22c1f9c266adf591b871f10ac2245d6987dbc8 100644 (file)
@@ -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)