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

Commit 738e8ff9 authored by Igor M. Liplianin's avatar Igor M. Liplianin Committed by Mauro Carvalho Chehab
Browse files

[media] ds3000: wrong hardware tune function implemented



It is taken from another tree, where it is modified.
Patch to fix that

Signed-off-by: default avatarIgor M. Liplianin <liplianin@me.by>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 3b30e0a8
Loading
Loading
Loading
Loading
+13 −2
Original line number Original line Diff line number Diff line
@@ -1220,9 +1220,20 @@ static int ds3000_set_frontend(struct dvb_frontend *fe,
}
}


static int ds3000_tune(struct dvb_frontend *fe,
static int ds3000_tune(struct dvb_frontend *fe,
			struct dvb_frontend_parameters *p)
			struct dvb_frontend_parameters *p,
			unsigned int mode_flags,
			unsigned int *delay,
			fe_status_t *status)
{
{
	return ds3000_set_frontend(fe, p);
	if (p) {
		int ret = ds3000_set_frontend(fe, p);
		if (ret)
			return ret;
	}

	*delay = HZ / 5;

	return ds3000_read_status(fe, status);
}
}


static enum dvbfe_algo ds3000_get_algo(struct dvb_frontend *fe)
static enum dvbfe_algo ds3000_get_algo(struct dvb_frontend *fe)