Skip to content

Commit 938a6e7

Browse files
marcanjannau
authored andcommitted
HID: core: Handle HOST bus type when announcing devices
Signed-off-by: Hector Martin <marcan@marcan.st>
1 parent 565ae7b commit 938a6e7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/hid/hid-core.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2298,6 +2298,9 @@ int hid_connect(struct hid_device *hdev, unsigned int connect_mask)
22982298
case BUS_SPI:
22992299
bus = "SPI";
23002300
break;
2301+
case BUS_HOST:
2302+
bus = "HOST";
2303+
break;
23012304
case BUS_VIRTUAL:
23022305
bus = "VIRTUAL";
23032306
break;

0 commit comments

Comments
 (0)