Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3b513bd authored by Matthias Schwarzott's avatar Matthias Schwarzott Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarMatthias Schwarzott <zzam@gentoo.org>
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 9f7ca3d4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);