summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-12-30 11:07:53 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2008-12-30 11:07:53 +0100
commit033f7befdeeb65b662a90b0685f24ea62dfcbbd5 (patch)
tree644830c6ec6492e51fb1ddca52d4fa1021280b3f /linux/drivers
parent11aa6827bc8e1035b00c3e957e46b1fd9de17a85 (diff)
downloadmediapointer-dvb-s2-033f7befdeeb65b662a90b0685f24ea62dfcbbd5.tar.gz
mediapointer-dvb-s2-033f7befdeeb65b662a90b0685f24ea62dfcbbd5.tar.bz2
gp8psk: fix incorrect return code (EINVAL instead of -EINVAL)
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/gp8psk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/gp8psk.c b/linux/drivers/media/dvb/dvb-usb/gp8psk.c
index c1da962cc..3dd684386 100644
--- a/linux/drivers/media/dvb/dvb-usb/gp8psk.c
+++ b/linux/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;
}