summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-07-22 00:35:04 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 22:56:03 +0200
commite716adacef360fde5a5327ee95aa33dfca276c61 (patch)
tree38e2a9f536aca98b921e95ad81ce52381a307a19 /drivers/media
parent[media] drxk: Remove goto/break after return (diff)
downloadlinux-e716adacef360fde5a5327ee95aa33dfca276c61.tar.xz
linux-e716adacef360fde5a5327ee95aa33dfca276c61.zip
[media] drxk: Fix error return code during drxk init
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/frontends/drxk_hard.c2
1 files changed, 1 insertions, 1 deletions
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)