projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c61cc3
)
[media] dib9000: return error code on failure
author
Dan Carpenter
<error27@gmail.com>
Sat, 6 Aug 2011 08:01:51 +0000
(
05:01
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 3 Sep 2011 16:08:20 +0000
(13:08 -0300)
The ret = -EIO needs to be before the goto.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/dib9000.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/frontends/dib9000.c
b/drivers/media/dvb/frontends/dib9000.c
index
b931074
..
e276b11
100644
(file)
--- a/
drivers/media/dvb/frontends/dib9000.c
+++ b/
drivers/media/dvb/frontends/dib9000.c
@@
-1180,8
+1180,8
@@
static int dib9000_fw_get_channel(struct dvb_frontend *fe, struct dvb_frontend_p
DibAcquireLock(&state->platform.risc.mem_mbx_lock);
if (dib9000_fw_memmbx_sync(state, FE_SYNC_CHANNEL) < 0) {
- goto error;
ret = -EIO;
+ goto error;
}
dib9000_risc_mem_read(state, FE_MM_R_CHANNEL_UNION,