From: Mauro Carvalho Chehab Date: Thu, 21 Jul 2011 22:35:04 +0000 (-0300) Subject: [media] drxk: Fix error return code during drxk init X-Git-Tag: MMI-PSA29.97-13-9~18729^2~39 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e716adacef360fde5a5327ee95aa33dfca276c61;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [media] drxk: Fix error return code during drxk init Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/frontends/drxk_hard.c b/drivers/media/dvb/frontends/drxk_hard.c index 56949553b929..5b22c1f9c266 100644 --- a/drivers/media/dvb/frontends/drxk_hard.c +++ b/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)