Skip to content

Commit e52ccd3

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

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
@@ -2297,6 +2297,9 @@ int hid_connect(struct hid_device *hdev, unsigned int connect_mask)
22972297
case BUS_SPI:
22982298
bus = "SPI";
22992299
break;
2300+
case BUS_HOST:
2301+
bus = "HOST";
2302+
break;
23002303
case BUS_VIRTUAL:
23012304
bus = "VIRTUAL";
23022305
break;

0 commit comments

Comments
 (0)