From: Val Packett Date: Sat, 20 Sep 2025 12:03:46 +0000 (+0200) Subject: media: i2c: dw9719: Update PM last busy time upon close X-Git-Tag: v6.19-rc1~159^2~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e18755738632d3c5aaaddd45b76520f78e6d8d4;p=thirdparty%2Fkernel%2Fstable.git media: i2c: dw9719: Update PM last busy time upon close Update the close callback to match other similar drivers like dw9768. Signed-off-by: Val Packett Signed-off-by: André Apitzsch Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/i2c/dw9719.c b/drivers/media/i2c/dw9719.c index 5e3a200db3b5d..a24594523030d 100644 --- a/drivers/media/i2c/dw9719.c +++ b/drivers/media/i2c/dw9719.c @@ -284,7 +284,7 @@ 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_put_autosuspend(sd->dev); return 0; }