summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/tw9910.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/i2c/tw9910.c')
-rw-r--r--drivers/media/i2c/tw9910.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/tw9910.c b/drivers/media/i2c/tw9910.c
index 5233c33b93df..7c331a7f12d4 100644
--- a/drivers/media/i2c/tw9910.c
+++ b/drivers/media/i2c/tw9910.c
@@ -829,7 +829,7 @@ static int tw9910_set_fmt(struct v4l2_subdev *sd,
if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE)
return tw9910_s_fmt(sd, mf);
- *v4l2_subdev_get_pad_format(sd, sd_state, 0) = *mf;
+ *v4l2_subdev_state_get_format(sd_state, 0) = *mf;
return 0;
}