]> git.webhop.me Git - lcd4linux.git/commitdiff
IRLCD patch from Jussi Kilpelainen
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sat, 28 Feb 2009 06:02:34 +0000 (06:02 +0000)
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sat, 28 Feb 2009 06:02:34 +0000 (06:02 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@983 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

drv_IRLCD.c

index ef59e076039b4a85662c0e8179e9c6810f3f183a..e693cb764b83443ef14aec2d4a51a6a2042379a9 100644 (file)
@@ -124,8 +124,8 @@ static int drv_IRLCD_open(char *bus_id, char *device_id)
                        info("%s: found IRLCD interface on bus %s device %s", Name, bus->dirname, dev->filename);
                        lcd = usb_open(dev);
                        if (usb_claim_interface(lcd, 0) < 0) {
-                           error("%s: usb_claim_interface() failed!", Name);
-                           return -1;
+                           info("%s: WRNING! usb_claim_interface() failed!", Name);
+                           # try to proceed anyway...
                        }
                        return 0;
                    }