Merge tag 'gfs2-4.8.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2...
[cascardo/linux.git] / drivers / extcon / extcon-rt8973a.c
index 97e074d..174c388 100644 (file)
@@ -398,9 +398,9 @@ static int rt8973a_muic_cable_handler(struct rt8973a_muic_info *info,
                return ret;
 
        /* Change the state of external accessory */
-       extcon_set_cable_state_(info->edev, id, attached);
+       extcon_set_state_sync(info->edev, id, attached);
        if (id == EXTCON_USB)
-               extcon_set_cable_state_(info->edev, EXTCON_CHG_USB_SDP,
+               extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP,
                                        attached);
 
        return 0;