diff options
Diffstat (limited to 'drivers/media/i2c/saa7127.c')
-rw-r--r-- | drivers/media/i2c/saa7127.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/saa7127.c b/drivers/media/i2c/saa7127.c index 8ecb6564a315..b745f68fbc92 100644 --- a/drivers/media/i2c/saa7127.c +++ b/drivers/media/i2c/saa7127.c | |||
@@ -625,7 +625,7 @@ static int saa7127_g_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_f | |||
625 | { | 625 | { |
626 | struct saa7127_state *state = to_state(sd); | 626 | struct saa7127_state *state = to_state(sd); |
627 | 627 | ||
628 | memset(fmt, 0, sizeof(*fmt)); | 628 | memset(fmt->service_lines, 0, sizeof(fmt->service_lines)); |
629 | if (state->vps_enable) | 629 | if (state->vps_enable) |
630 | fmt->service_lines[0][16] = V4L2_SLICED_VPS; | 630 | fmt->service_lines[0][16] = V4L2_SLICED_VPS; |
631 | if (state->wss_enable) | 631 | if (state->wss_enable) |