mutex_unlock(&phy0->mutex);
 
        if (id_notify) {
-               extcon_set_cable_state_(data->extcon, EXTCON_USB_HOST,
+               extcon_set_state_sync(data->extcon, EXTCON_USB_HOST,
                                        !id_det);
                /* When leaving host mode force end the session here */
                if (force_session_end && id_det == 1) {
        }
 
        if (vbus_notify)
-               extcon_set_cable_state_(data->extcon, EXTCON_USB, vbus_det);
+               extcon_set_state_sync(data->extcon, EXTCON_USB, vbus_det);
 
        if (sun4i_usb_phy0_poll(data))
                queue_delayed_work(system_wq, &data->detect, POLL_TIME);