diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/chipidea/otg_fsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/otg_fsm.c b/drivers/usb/chipidea/otg_fsm.c index 13fc169ef76d..ceed9bbd898f 100644 --- a/drivers/usb/chipidea/otg_fsm.c +++ b/drivers/usb/chipidea/otg_fsm.c @@ -943,7 +943,7 @@ void ci_hdrc_otg_fsm_remove(struct ci_hdrc *ci) ci->enabled_otg_timer_bits = 0; /* Turn off vbus if vbus is on */ - if (ci->fsm.a_vbus_vld) + if (ci->fsm.drv_vbus) otg_drv_vbus(&ci->fsm, 0); sysfs_remove_group(&ci->dev->kobj, &inputs_attr_group); |