From: Hans Verkuil <hverkuil@xs4all.nl>
Date: Tue, 30 Dec 2008 10:07:53 +0000 (-0300)
Subject: V4L/DVB (10140): gp8psk: fix incorrect return code (EINVAL instead of -EINVAL)
X-Git-Tag: v2.6.29-rc1~523^2~25
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=da1b5c95e49bb564ae8c61ed135d34ed09acbb66;p=linux-2.6-omap-h63xx.git

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>
---

diff --git a/drivers/media/dvb/dvb-usb/gp8psk.c b/drivers/media/dvb/dvb-usb/gp8psk.c
index c1da962cc88..3dd6843864e 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;
 }