|
@@ -1112,6 +1112,8 @@ static int apds9960_runtime_resume(struct device *dev)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
static const struct dev_pm_ops apds9960_pm_ops = {
|
|
static const struct dev_pm_ops apds9960_pm_ops = {
|
|
|
|
+ SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
|
|
|
|
+ pm_runtime_force_resume)
|
|
SET_RUNTIME_PM_OPS(apds9960_runtime_suspend,
|
|
SET_RUNTIME_PM_OPS(apds9960_runtime_suspend,
|
|
apds9960_runtime_resume, NULL)
|
|
apds9960_runtime_resume, NULL)
|
|
};
|
|
};
|