diff --git a/drivers/usb/typec/mux/ps883x.c b/drivers/usb/typec/mux/ps883x.c index 7c61629b36d6..5f2879749769 100644 --- a/drivers/usb/typec/mux/ps883x.c +++ b/drivers/usb/typec/mux/ps883x.c @@ -192,10 +192,8 @@ static int ps883x_sw_set(struct typec_switch_dev *sw, ret = regmap_assign_bits(retimer->regmap, REG_USB_PORT_CONN_STATUS_0, CONN_STATUS_0_ORIENTATION_REVERSED, orientation == TYPEC_ORIENTATION_REVERSE); - if (ret) { + if (ret) dev_err(&retimer->client->dev, "failed to set orientation: %d\n", ret); - return ret; - } } mutex_unlock(&retimer->lock);