Skip to content

Commit

Permalink
V4L/DVB (13208): cx23885: fix uninitialized member bug
Browse files Browse the repository at this point in the history
Signed-off-by: David T. L. Wong <davidtlwong@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
David T.L. Wong authored and Mauro Carvalho Chehab committed Dec 5, 2009
1 parent dac65fa commit fd705e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/video/cx23885/cx23885-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fd705e7

Please sign in to comment.