diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2014-07-15 16:34:34 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-21 21:28:10 -0300 |
commit | 9f7ca3d46b3d6dbde4edf9fa7ca95596e2e35085 (patch) | |
tree | a48b903b19743636cff180ae80e053bede236e0e /drivers/media/usb | |
parent | 6cc8a35dcf6bceb4c6db38ae7862d826b3afb6a2 (diff) | |
download | linux-9f7ca3d46b3d6dbde4edf9fa7ca95596e2e35085.tar.gz linux-9f7ca3d46b3d6dbde4edf9fa7ca95596e2e35085.tar.bz2 linux-9f7ca3d46b3d6dbde4edf9fa7ca95596e2e35085.zip |
[media] cxusb: 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')
-rw-r--r-- | drivers/media/usb/dvb-usb/cxusb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb/cxusb.c b/drivers/media/usb/dvb-usb/cxusb.c index d60e36d5103a..b7461ac1ce74 100644 --- a/drivers/media/usb/dvb-usb/cxusb.c +++ b/drivers/media/usb/dvb-usb/cxusb.c @@ -1386,6 +1386,7 @@ static int cxusb_tt_ct2_4400_attach(struct dvb_usb_adapter *adap) st->i2c_client_demod = client_demod; /* attach tuner */ + memset(&si2157_config, 0, sizeof(si2157_config)); si2157_config.fe = adap->fe_adap[0].fe; memset(&info, 0, sizeof(struct i2c_board_info)); strlcpy(info.type, "si2157", I2C_NAME_SIZE); |