projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ffd341
)
HID: Make I2C a known bus in hid_connect()
author
Daniel Martin
<daniel.martin@secunet.com>
Thu, 17 Sep 2015 15:02:22 +0000
(17:02 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Wed, 23 Sep 2015 09:49:49 +0000
(11:49 +0200)
Just to prettify the log message. Otherwise it would be <UNKNOWN>.
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hid/hid-core.c
b/drivers/hid/hid-core.c
index 31fc6427cac389d9409fc09b5d4e44de60573228..71a1286c4c353db643b523d4397f07c38d57a3ad 100644
(file)
--- a/
drivers/hid/hid-core.c
+++ b/
drivers/hid/hid-core.c
@@
-1678,6
+1678,9
@@
int hid_connect(struct hid_device *hdev, unsigned int connect_mask)
case BUS_BLUETOOTH:
bus = "BLUETOOTH";
break;
+ case BUS_I2C:
+ bus = "I2C";
+ break;
default:
bus = "<UNKNOWN>";
}