Skip to content

Commit c512fed

Browse files
valpackettTravMurav
authored andcommitted
UPSTREAM: 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 <val@packett.cool> Signed-off-by: André Apitzsch <git@apitzsch.eu> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
1 parent 67dfb52 commit c512fed

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)