diff options
Diffstat (limited to 'drivers/usb/dwc3/dwc3-of-simple.c')
| -rw-r--r-- | drivers/usb/dwc3/dwc3-of-simple.c | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/dwc3-of-simple.c b/drivers/usb/dwc3/dwc3-of-simple.c index cb2ee96fd3e8..dbeff5e6ad14 100644 --- a/drivers/usb/dwc3/dwc3-of-simple.c +++ b/drivers/usb/dwc3/dwc3-of-simple.c @@ -165,8 +165,9 @@ static int dwc3_of_simple_remove(struct platform_device *pdev)  	reset_control_put(simple->resets); -	pm_runtime_put_sync(dev);  	pm_runtime_disable(dev); +	pm_runtime_put_noidle(dev); +	pm_runtime_set_suspended(dev);  	return 0;  } @@ -208,13 +209,13 @@ static const struct dev_pm_ops dwc3_of_simple_dev_pm_ops = {  };  static const struct of_device_id of_dwc3_simple_match[] = { -	{ .compatible = "qcom,dwc3" },  	{ .compatible = "rockchip,rk3399-dwc3" },  	{ .compatible = "xlnx,zynqmp-dwc3" },  	{ .compatible = "cavium,octeon-7130-usb-uctl" },  	{ .compatible = "sprd,sc9860-dwc3" },  	{ .compatible = "amlogic,meson-axg-dwc3" },  	{ .compatible = "amlogic,meson-gxl-dwc3" }, +	{ .compatible = "allwinner,sun50i-h6-dwc3" },  	{ /* Sentinel */ }  };  MODULE_DEVICE_TABLE(of, of_dwc3_simple_match);  |