[media] dib9000: return error code on failure
authorDan Carpenter <error27@gmail.com>
Sat, 6 Aug 2011 08:01:51 +0000 (05:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 3 Sep 2011 16:08:20 +0000 (13:08 -0300)
commit2f098cb1c8b226a99595512e1029c8d1680f69cd
tree17700a3571403ae16c5f9d1458ae371efa6ce758
parent0c61cc3ba4c9b74cfdd6a1ee07492199ffdd9818
[media] dib9000: return error code on failure

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