diff options
author | David T.L. Wong <davidtlwong@gmail.com> | 2009-10-21 16:08:30 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 21:40:53 +0100 |
commit | fd705e7cd8ef61efc443b90f94afed42beabeacd (patch) | |
tree | 569e0f18098d262af2da8ffa4f1350035d9ef76f /drivers | |
parent | V4L/DVB (13207): cx23885: add component input type (diff) | |
download | linux-fd705e7cd8ef61efc443b90f94afed42beabeacd.tar.xz linux-fd705e7cd8ef61efc443b90f94afed42beabeacd.zip |
V4L/DVB (13208): cx23885: fix uninitialized member bug
Signed-off-by: David T. L. Wong <davidtlwong@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-video.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/cx23885/cx23885-video.c b/drivers/media/video/cx23885/cx23885-video.c index eebd52eb3dcd..e14cb39d8412 100644 --- a/drivers/media/video/cx23885/cx23885-video.c +++ b/drivers/media/video/cx23885/cx23885-video.c @@ -1504,6 +1504,7 @@ int cx23885_video_register(struct cx23885_dev *dev) if (sd) { struct tuner_setup tun_setup; + memset(&tun_setup, 0, sizeof(tun_setup)); tun_setup.mode_mask = T_ANALOG_TV; tun_setup.type = dev->tuner_type; tun_setup.addr = v4l2_i2c_subdev_addr(sd); |