Update the close callback to match other similar drivers like dw9768. Signed-off-by: Val Packett <val@xxxxxxxxxxxx> --- drivers/media/i2c/dw9719.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.48.1