usb: hcd: move controller wakeup setting initialization to individual driver
[firefly-linux-kernel-4.4.55.git] / drivers / staging / ozwpan / ozhcd.c
index d9c43c3282e7bd7dbc94459d5f966dae9ed1d0c8..efaf26f734c396c010945e42a45ae4f5eb08f571 100644 (file)
@@ -2270,6 +2270,8 @@ static int oz_plat_probe(struct platform_device *dev)
                usb_put_hcd(hcd);
                return -1;
        }
+       device_wakeup_enable(hcd->self.controller);
+
        spin_lock_bh(&g_hcdlock);
        g_ozhcd = ozhcd;
        spin_unlock_bh(&g_hcdlock);