diff options
Diffstat (limited to 'drivers/power/mxs/linux.c')
-rw-r--r-- | drivers/power/mxs/linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/mxs/linux.c b/drivers/power/mxs/linux.c index 4c80c36529c2..6a3172415145 100644 --- a/drivers/power/mxs/linux.c +++ b/drivers/power/mxs/linux.c @@ -752,6 +752,8 @@ static int mxs_bat_probe(struct platform_device *pdev) int ret = 0; + /* enable usb device presence detection */ + fsl_enable_usb_plugindetect(); ret = ddi_power_init_battery(); if (ret) { @@ -941,8 +943,6 @@ static int mxs_bat_probe(struct platform_device *pdev) */ init_protection(info); - /* enable usb device presence detection */ - fsl_enable_usb_plugindetect(); return 0; |