VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   34 Branches   58 Tags
author: Changhuang Liang <changhuang.liang@starfivetech.com> 2023-06-19 15:53:04 +0800 committer: Changhuang Liang <changhuang.liang@starfivetech.com> 2023-07-03 14:54:49 +0800 commit: 4ebd314a65c64dbb5de0a484b376083cf727786f parent: 7986171dd9e46afe7bf6ca0eb2ede77a55780c54
Commit Summary:
media: starfive: imx219: Add system pm
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/drivers/media/platform/starfive/v4l2_driver/imx219_mipi.c b/drivers/media/platform/starfive/v4l2_driver/imx219_mipi.c
index 0af599b70af4..84e40a88f283 100644
--- a/drivers/media/platform/starfive/v4l2_driver/imx219_mipi.c
+++ b/drivers/media/platform/starfive/v4l2_driver/imx219_mipi.c
@@ -1564,6 +1564,7 @@ static const struct of_device_id imx219_dt_ids[] = {
 MODULE_DEVICE_TABLE(of, imx219_dt_ids);
 
 static const struct dev_pm_ops imx219_pm_ops = {
+	SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume)
 	SET_RUNTIME_PM_OPS(imx219_power_off, imx219_power_on, NULL)
 };