mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
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:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user