Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82187
b: refs/heads/master
c: de6f92b
h: refs/heads/master
i:
  82185: 2910793
  82183: 67b2582
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Feb 1, 2008
1 parent 749cd73 commit 0e496b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6ce4560a39f72e45a273c652ee116f8b0fc6386f
refs/heads/master: de6f92b9ee00e9f841fb1a63d0bd60593ec55dbe
4 changes: 2 additions & 2 deletions trunk/drivers/usb/core/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ const struct usb_device_id *usb_match_id(struct usb_interface *interface,
id->driver_info is the way to create an entry that
indicates that the driver want to examine every
device and interface. */
for (; id->idVendor || id->bDeviceClass || id->bInterfaceClass ||
id->driver_info; id++) {
for (; id->idVendor || id->idProduct || id->bDeviceClass ||
id->bInterfaceClass || id->driver_info; id++) {
if (usb_match_one_id(interface, id))
return id;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/scripts/mod/file2alias.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ static void do_usb_entry_multi(struct usb_device_id *id, struct module *mod)
* Some modules (visor) have empty slots as placeholder for
* run-time specification that results in catch-all alias
*/
if (!(id->idVendor | id->bDeviceClass | id->bInterfaceClass))
if (!(id->idVendor | id->idProduct | id->bDeviceClass | id->bInterfaceClass))
return;

/* Convert numeric bcdDevice range into fnmatch-able pattern(s) */
Expand Down

0 comments on commit 0e496b0

Please sign in to comment.