diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2014-07-15 21:34:35 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-22 02:28:41 +0200 |
commit | c3b513bd695542dcf6d2da49bdd78ef111db24cc (patch) | |
tree | 7cf378c3b85a6f899d6851b3825952b62057a907 /drivers/media/usb/em28xx | |
parent | [media] cxusb: Prepare for si2157 driver getting more parameters (diff) | |
download | linux-c3b513bd695542dcf6d2da49bdd78ef111db24cc.tar.xz linux-c3b513bd695542dcf6d2da49bdd78ef111db24cc.zip |
[media] em28xx-dvb: Prepare for si2157 driver getting more parameters
Modify all users of si2157_config to correctly initialize all not
listed values to 0.
Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/em28xx')
-rw-r--r-- | drivers/media/usb/em28xx/em28xx-dvb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-dvb.c b/drivers/media/usb/em28xx/em28xx-dvb.c index a121ed9561fd..96a0bdbecfad 100644 --- a/drivers/media/usb/em28xx/em28xx-dvb.c +++ b/drivers/media/usb/em28xx/em28xx-dvb.c @@ -1545,6 +1545,7 @@ static int em28xx_dvb_init(struct em28xx *dev) dvb->i2c_client_demod = client; /* attach tuner */ + memset(&si2157_config, 0, sizeof(si2157_config)); si2157_config.fe = dvb->fe[0]; memset(&info, 0, sizeof(struct i2c_board_info)); strlcpy(info.type, "si2157", I2C_NAME_SIZE); |