From e716adacef360fde5a5327ee95aa33dfca276c61 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Thu, 21 Jul 2011 19:35:04 -0300 Subject: [PATCH] [media] drxk: Fix error return code during drxk init Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb/frontends/drxk_hard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ static int init_drxk(struct drxk_state *state) 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) -- GitLab