summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/gp8psk.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-12-30 11:07:53 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-01-02 20:11:43 +0100
commitda1b5c95e49bb564ae8c61ed135d34ed09acbb66 (patch)
treee9bb8bd44cd5e15d73510eb0d51274b89c19961a /drivers/media/dvb/dvb-usb/gp8psk.c
parentV4L/DVB (10139): v4l: rename v4l_compat_ioctl32 to v4l2_compat_ioctl32 (diff)
downloadlinux-da1b5c95e49bb564ae8c61ed135d34ed09acbb66.tar.xz
linux-da1b5c95e49bb564ae8c61ed135d34ed09acbb66.zip
V4L/DVB (10140): gp8psk: fix incorrect return code (EINVAL instead of -EINVAL)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/gp8psk.c')
-rw-r--r--drivers/media/dvb/dvb-usb/gp8psk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/gp8psk.c b/drivers/media/dvb/dvb-usb/gp8psk.c
index c1da962cc886..3dd6843864ed 100644
--- a/drivers/media/dvb/dvb-usb/gp8psk.c
+++ b/drivers/media/dvb/dvb-usb/gp8psk.c
@@ -187,7 +187,7 @@ int gp8psk_bcm4500_reload(struct dvb_usb_device *d)
/* load BCM4500 firmware */
if (gp_product_id == USB_PID_GENPIX_8PSK_REV_1_WARM)
if (gp8psk_load_bcm4500fw(d))
- return EINVAL;
+ return -EINVAL;
return 0;
}