Commit 40062390 authored by Peter Chen's avatar Peter Chen

usb: cdns3: imx: enable runtime pm by default

Enable runtime pm by default
Reviewed-by: default avatarJun Li <jun.li@nxp.com>
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
parent 7cea9657
...@@ -151,6 +151,7 @@ static int cdns_imx_platform_suspend(struct device *dev, ...@@ -151,6 +151,7 @@ static int cdns_imx_platform_suspend(struct device *dev,
bool suspend, bool wakeup); bool suspend, bool wakeup);
static struct cdns3_platform_data cdns_imx_pdata = { static struct cdns3_platform_data cdns_imx_pdata = {
.platform_suspend = cdns_imx_platform_suspend, .platform_suspend = cdns_imx_platform_suspend,
.quirks = CDNS3_DEFAULT_PM_RUNTIME_ALLOW,
}; };
static const struct of_dev_auxdata cdns_imx_auxdata[] = { static const struct of_dev_auxdata cdns_imx_auxdata[] = {
...@@ -206,7 +207,6 @@ static int cdns_imx_probe(struct platform_device *pdev) ...@@ -206,7 +207,6 @@ static int cdns_imx_probe(struct platform_device *pdev)
device_set_wakeup_capable(dev, true); device_set_wakeup_capable(dev, true);
pm_runtime_set_active(dev); pm_runtime_set_active(dev);
pm_runtime_enable(dev); pm_runtime_enable(dev);
pm_runtime_forbid(dev);
return ret; return ret;
err: err:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment