Skip to content
Snippets Groups Projects
Commit 48e33bef authored by Mark Bolhuis's avatar Mark Bolhuis Committed by Jiri Kosina
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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>";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment