projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7198fb
)
i2c-i801: Check for vendor Fujitsu before probing for apanel
author
Jean Delvare
<khali@linux-fr.org>
Tue, 24 May 2011 18:58:49 +0000
(20:58 +0200)
committer
Jean Delvare
<khali@endymion.delvare>
Tue, 24 May 2011 18:58:49 +0000
(20:58 +0200)
Scanning the BIOS memory for the apanel information is costly, so
avoid doing it on non-Fujitsu machines.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-i801.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-i801.c
b/drivers/i2c/busses/i2c-i801.c
index 4228691ffde8a0e7f6f9a7d652abd2474ec41621..1aa5be019cfc1654640c0d11ba0b5785a8c5766d 100644
(file)
--- a/
drivers/i2c/busses/i2c-i801.c
+++ b/
drivers/i2c/busses/i2c-i801.c
@@
-931,7
+931,8
@@
static struct pci_driver i801_driver = {
static int __init i2c_i801_init(void)
{
- input_apanel_init();
+ if (dmi_name_in_vendors("FUJITSU"))
+ input_apanel_init();
return pci_register_driver(&i801_driver);
}