mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 12:26:41 +07:00
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>
This commit is contained in:
parent
dac65fa169
commit
fd705e7cd8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user