Skip to content

Commit b520c70

Browse files
valpackettAndré Apitzsch
authored andcommitted
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 <[email protected]> Signed-off-by: André Apitzsch <[email protected]>
1 parent 51b7560 commit b520c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/i2c/dw9719.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ static int dw9719_open(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh)
284284

285285
static int dw9719_close(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh)
286286
{
287-
pm_runtime_put(sd->dev);
287+
pm_runtime_put_autosuspend(sd->dev);
288288

289289
return 0;
290290
}

0 commit comments

Comments
 (0)