mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 06:01:23 +00:00
[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>
This commit is contained in:
parent
9f7ca3d46b
commit
c3b513bd69
1 changed files with 1 additions and 0 deletions
|
@ -1545,6 +1545,7 @@ static int em28xx_dvb_init(struct em28xx *dev)
|
||||||
dvb->i2c_client_demod = client;
|
dvb->i2c_client_demod = client;
|
||||||
|
|
||||||
/* attach tuner */
|
/* attach tuner */
|
||||||
|
memset(&si2157_config, 0, sizeof(si2157_config));
|
||||||
si2157_config.fe = dvb->fe[0];
|
si2157_config.fe = dvb->fe[0];
|
||||||
memset(&info, 0, sizeof(struct i2c_board_info));
|
memset(&info, 0, sizeof(struct i2c_board_info));
|
||||||
strlcpy(info.type, "si2157", I2C_NAME_SIZE);
|
strlcpy(info.type, "si2157", I2C_NAME_SIZE);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue