Message ID | 20250210082035.8670-5-val@packett.cool (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | media: i2c: dw9719: add DT compatible and DW9718S support | expand |
diff --git a/drivers/media/i2c/dw9719.c b/drivers/media/i2c/dw9719.c index f2cf3bcd4dd3..74a57c2f59ae 100644 --- a/drivers/media/i2c/dw9719.c +++ b/drivers/media/i2c/dw9719.c @@ -188,7 +188,8 @@ static int dw9719_open(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh) static int dw9719_close(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh) { - pm_runtime_put(sd->dev); + pm_runtime_mark_last_busy(sd->dev); + __pm_runtime_put_autosuspend(sd->dev); return 0; }
Update the close callback to match other similar drivers like dw9768. Signed-off-by: Val Packett <val@packett.cool> --- drivers/media/i2c/dw9719.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)