[PATCH 9/9] media: i2c: ov5645: Add suspend/resume support
From: Tommaso Merciai
Date: Tue Jun 16 2026 - 13:15:51 EST
Add suspend/resume support to the ov5645 driver.
Signed-off-by: Tommaso Merciai <tommaso.merciai.xr@xxxxxxxxxxxxxx>
---
drivers/media/i2c/ov5645.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/i2c/ov5645.c b/drivers/media/i2c/ov5645.c
index 14692d128571..ac64936bef09 100644
--- a/drivers/media/i2c/ov5645.c
+++ b/drivers/media/i2c/ov5645.c
@@ -1232,6 +1232,7 @@ MODULE_DEVICE_TABLE(of, ov5645_of_match);
static const struct dev_pm_ops ov5645_pm_ops = {
RUNTIME_PM_OPS(ov5645_set_power_off, ov5645_set_power_on, NULL)
+ SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume)
};
static struct i2c_driver ov5645_i2c_driver = {
--
2.54.0