Skip to content

Commit becc071

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

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
@@ -2267,6 +2267,9 @@ int hid_connect(struct hid_device *hdev, unsigned int connect_mask)
22672267
case BUS_SPI:
22682268
bus = "SPI";
22692269
break;
2270+
case BUS_HOST:
2271+
bus = "HOST";
2272+
break;
22702273
case BUS_VIRTUAL:
22712274
bus = "VIRTUAL";
22722275
break;

0 commit comments

Comments
 (0)