Skip to content

Commit d70f348

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

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
@@ -2251,6 +2251,9 @@ int hid_connect(struct hid_device *hdev, unsigned int connect_mask)
22512251
case BUS_SPI:
22522252
bus = "SPI";
22532253
break;
2254+
case BUS_HOST:
2255+
bus = "HOST";
2256+
break;
22542257
case BUS_VIRTUAL:
22552258
bus = "VIRTUAL";
22562259
break;

0 commit comments

Comments
 (0)