diff --git a/drivers/usb/typec/mmi_tcpc/tcpc_aw35616.c b/drivers/usb/typec/mmi_tcpc/tcpc_aw35616.c index ae47a470be1a..bfd7e4882a98 100644 --- a/drivers/usb/typec/mmi_tcpc/tcpc_aw35616.c +++ b/drivers/usb/typec/mmi_tcpc/tcpc_aw35616.c @@ -242,6 +242,11 @@ static void aw35616_first_check_typec_work(struct work_struct *work) case DUG_ACC: if (chip->reg.status.snk_det_rp_dbg) { AW_LOG("plug int Rp-Rp\n"); + + AW_LOG("snk_cur_md:%d\n",chip->reg.status.snk_cur_md); + chip->tcpc->typec_usb_sink_curr = chip->reg.status.snk_cur_md; + chip->tcpc->typec_remote_rp_level = aw35616_remote_rp_level(chip->tcpc); + if (chip->tcpc->typec_attach_new != TYPEC_ATTACHED_SNK) { chip->tcpc->typec_attach_new = TYPEC_ATTACHED_SNK; tcpci_notify_typec_state(chip->tcpc);