| .. | .. |
|---|
| 677 | 677 | calltime = ktime_get(); |
|---|
| 678 | 678 | ret = really_probe(dev, drv); |
|---|
| 679 | 679 | rettime = ktime_get(); |
|---|
| 680 | | - pr_debug("probe of %s returned %d after %lld usecs\n", |
|---|
| 680 | + /* |
|---|
| 681 | + * Don't change this to pr_debug() because that requires |
|---|
| 682 | + * CONFIG_DYNAMIC_DEBUG and we want a simple 'initcall_debug' on the |
|---|
| 683 | + * kernel commandline to print this all the time at the debug level. |
|---|
| 684 | + */ |
|---|
| 685 | + printk(KERN_DEBUG "probe of %s returned %d after %lld usecs\n", |
|---|
| 681 | 686 | dev_name(dev), ret, ktime_us_delta(rettime, calltime)); |
|---|
| 682 | 687 | return ret; |
|---|
| 683 | 688 | } |
|---|
| .. | .. |
|---|
| 1088 | 1093 | return 0; |
|---|
| 1089 | 1094 | } else if (ret < 0) { |
|---|
| 1090 | 1095 | dev_dbg(dev, "Bus failed to match device: %d\n", ret); |
|---|
| 1091 | | - return ret; |
|---|
| 1096 | + /* |
|---|
| 1097 | + * Driver could not match with device, but may match with |
|---|
| 1098 | + * another device on the bus. |
|---|
| 1099 | + */ |
|---|
| 1100 | + return 0; |
|---|
| 1092 | 1101 | } /* ret > 0 means positive match */ |
|---|
| 1093 | 1102 | |
|---|
| 1094 | 1103 | if (driver_allows_async_probing(drv)) { |
|---|