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

Commit 383730c3 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] tuner-core: return afc instead of zero



While the driver gets AFC from the tuner, it doesn't return it
back via V4L2 API due to a mistake at the return. fix it.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 106cf649
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -235,7 +235,7 @@ static int fe_get_afc(struct dvb_frontend *fe)
	if (fe->ops.tuner_ops.get_afc)
		fe->ops.tuner_ops.get_afc(fe, &afc);

	return 0;
	return afc;
}

static int fe_set_config(struct dvb_frontend *fe, void *priv_cfg)