IRLCD patch from Jussi Kilpelainen

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@983 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
michael
2009-02-28 06:02:34 +00:00
parent bfdcc12998
commit 0425070554
+2 -2
View 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;
}