]> err.no Git - linux-2.6/commit
[PATCH] USB: fix hid core to return proper error code from probe
authorStelian Pop <stelian@popies.net>
Wed, 22 Jun 2005 15:53:28 +0000 (17:53 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Jun 2005 06:01:09 +0000 (23:01 -0700)
commit479f6ea85e513551510ad52f37e69e1c596ad356
tree60eadfd85297f42be75be8863cacbc0ea9d82f3b
parentb7c84c6ada2be942eca6722edb2cfaad412cd5de
[PATCH] USB: fix hid core to return proper error code from probe

Drivers need to return -ENODEV when they can't bind to a device.
Anything else stops the "bind a device to a driver" search.

From: Stelian Pop <stelian@popies.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/input/hid-core.c