V4L/DVB: drivers/media/dvb/dvb-usb/dib0700: fix return values
authorDaniel Mack <daniel@caiaq.de>
Thu, 1 Jul 2010 04:08:58 +0000 (01:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 18:01:15 +0000 (15:01 -0300)
commit8871c85d86829a2739ec797c4343ebd3664895b9
tree8c9d492d0cdee152afc27d0f5e2f30bcd756386e
parent4c61f678a468768afd45c3d9ac697f8f55aa04eb
V4L/DVB: drivers/media/dvb/dvb-usb/dib0700: fix return values

Propagte correct error values instead of returning -1 which just means
-EPERM ("Permission denied")

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dib0700_core.c