Commit 48e33bef authored by Mark Bolhuis's avatar Mark Bolhuis Committed by Jiri Kosina

HID: Add BUS_VIRTUAL to hid_connect logging

Add BUS_VIRTUAL to hid_connect logging since it's a valid hid bus type and it
should not print <UNKNOWN>
Signed-off-by: default avatarMark Bolhuis <mark@bolhuis.dev>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent bc8b796f
......@@ -2005,6 +2005,9 @@ int hid_connect(struct hid_device *hdev, unsigned int connect_mask)
case BUS_I2C:
bus = "I2C";
break;
case BUS_VIRTUAL:
bus = "VIRTUAL";
break;
default:
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