We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 094902b commit 47eb8deCopy full SHA for 47eb8de
drivers/usb/typec/ucsi/ucsi.c
@@ -437,6 +437,8 @@ static int ucsi_register_altmodes(struct ucsi_connector *con, u8 recipient)
437
command |= UCSI_GET_ALTMODE_CONNECTOR_NUMBER(con->num);
438
command |= UCSI_GET_ALTMODE_OFFSET(i);
439
len = ucsi_send_command(con->ucsi, command, alt, sizeof(alt));
440
+ if (len == -EBUSY)
441
+ continue;
442
if (len <= 0)
443
return len;
444
0 commit comments