HID: Make I2C a known bus in hid_connect()
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>
This commit is contained in:
parent
8ffd341c4b
commit
0678072755
1 changed files with 3 additions and 0 deletions
|
@ -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>";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue