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

Commit ae21e447 authored by Michael Ira Krufky's avatar Michael Ira Krufky Committed by Mauro Carvalho Chehab
Browse files

[media] lgdt3306a: fix ERROR: do not use assignment in if condition



Just CodingStyle fix.

Signed-off-by: default avatarMichael Ira Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent ebd9175e
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1600,7 +1600,8 @@ static int lgdt3306a_tune(struct dvb_frontend *fe, bool re_tune, unsigned int mo


	if (re_tune) {
	if (re_tune) {
		state->current_frequency = -1; /* force re-tune */
		state->current_frequency = -1; /* force re-tune */
		if ((ret = lgdt3306a_set_parameters(fe)) != 0)
		ret = lgdt3306a_set_parameters(fe);
		if (ret != 0)
			return ret;
			return ret;
	}
	}
	*delay = 125;
	*delay = 125;