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

Commit 76b9ef97 authored by Andreas Regel's avatar Andreas Regel Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (13985): [STV090x] reset mclk and dev_ver of internal structure after allocating



When mclk is not 0 then it will never be set to the correct value and
the Demodulator will not work.

Signed-off-by: default avatarAndreas Regel <andreas.regel@gmx.de>
Signed-off-by: default avatarManu Abraham <manu@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 93e32cda
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4517,6 +4517,8 @@ struct dvb_frontend *stv090x_attach(const struct stv090x_config *config,
					  GFP_KERNEL);
		temp_int = append_internal(state->internal);
		state->internal->num_used = 1;
		state->internal->mclk = 0;
		state->internal->dev_ver = 0;
		state->internal->i2c_adap = state->i2c;
		state->internal->i2c_addr = state->config->address;
		dprintk(FE_INFO, 1, "Create New Internal Structure!");