mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
usb: typec: displayport: Reduce noise from the driver
It's not an error if the mode can't be entered because another mode is already active, so no longer printing an error message if that happens. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20200928133324.48841-1-heikki.krogerus@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fb6f076d54
commit
5789051fc5
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ static void dp_altmode_work(struct work_struct *work)
|
|||
switch (dp->state) {
|
||||
case DP_STATE_ENTER:
|
||||
ret = typec_altmode_enter(dp->alt, NULL);
|
||||
if (ret)
|
||||
if (ret && ret != -EBUSY)
|
||||
dev_err(&dp->alt->dev, "failed to enter mode\n");
|
||||
break;
|
||||
case DP_STATE_UPDATE:
|
||||
|
|
Loading…
Reference in a new issue