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

Commit 050bf0fa authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab
Browse files

[media] cxd2820r: correct missing error checks

parent 58b0ed25
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -314,6 +314,8 @@ static int cxd2820r_set_frontend(struct dvb_frontend *fe,
			} else if (c->delivery_system == SYS_DVBT2) {
				/* DVB-T => DVB-T2 */
				ret = cxd2820r_sleep_t(fe);
				if (ret)
					break;
				ret = cxd2820r_set_frontend_t2(fe, p);
			}
			break;
@@ -324,6 +326,8 @@ static int cxd2820r_set_frontend(struct dvb_frontend *fe,
			} else if (c->delivery_system == SYS_DVBT) {
				/* DVB-T2 => DVB-T */
				ret = cxd2820r_sleep_t2(fe);
				if (ret)
					break;
				ret = cxd2820r_set_frontend_t(fe, p);
			}
			break;