Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion bus/bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,9 @@ static void gip_register_client(struct work_struct *work)
*
* The unfortunate workaround, that at least works reliably is to add a
* delay here. Since this is for human input device, one second is fine.
* Only applied to id=0 in order to skip sleep delay for non-primary clients (chatpad fix)
*/
msleep(700);
if (client->id == 0) msleep(700);

client->dev.parent = &client->adapter->dev;
client->dev.type = &gip_client_type;
Expand Down