Commit 06780727 authored by Daniel Martin's avatar Daniel Martin Committed by Jiri Kosina

HID: Make I2C a known bus in hid_connect()

Just to prettify the log message. Otherwise it would be <UNKNOWN>.
Signed-off-by: default avatarDaniel Martin <consume.noise@gmail.com>
Reviewed-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 8ffd341c
...@@ -1678,6 +1678,9 @@ int hid_connect(struct hid_device *hdev, unsigned int connect_mask) ...@@ -1678,6 +1678,9 @@ int hid_connect(struct hid_device *hdev, unsigned int connect_mask)
case BUS_BLUETOOTH: case BUS_BLUETOOTH:
bus = "BLUETOOTH"; bus = "BLUETOOTH";
break; break;
case BUS_I2C:
bus = "I2C";
break;
default: default:
bus = "<UNKNOWN>"; bus = "<UNKNOWN>";
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment