V4L/DVB (10140): gp8psk: fix incorrect return code (EINVAL instead of -EINVAL)
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 30 Dec 2008 10:07:53 +0000 (07:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 2 Jan 2009 19:11:43 +0000 (17:11 -0200)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/gp8psk.c

index c1da962cc8863261fa5a833c72451055b79b4c6b..3dd6843864ed8a05f33baedd437af45bff412c86 100644 (file)
@@ -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;
 }