diff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c index acc3fb22647f..49caf4cad123 100644 --- a/drivers/usb/typec/tcpm/tcpm.c +++ b/drivers/usb/typec/tcpm/tcpm.c @@ -6009,7 +6009,6 @@ static int tcpm_psy_get_prop(struct power_supply *psy, ret = -EINVAL; break; } - power_supply_changed(port->psy); return ret; } @@ -6061,6 +6060,7 @@ static int tcpm_psy_set_prop(struct power_supply *psy, ret = -EINVAL; break; } + power_supply_changed(port->psy); return ret; }