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

Commit d4c71d7a authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] av7110: remove a bogus smatch warning



Remove this bogus smatch warning:
	drivers/media/pci/ttpci/av7110.c:2211 frontend_init() warn: missing break? reassigning 'av7110->fe'

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 54c8cdd4
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -2198,12 +2198,17 @@ static int frontend_init(struct av7110 *av7110)
			break;

		case 0x0001: // Hauppauge/TT Nexus-T premium rev1.X
		{
			struct dvb_frontend *fe;

			// try ALPS TDLB7 first, then Grundig 29504-401
			av7110->fe = dvb_attach(sp8870_attach, &alps_tdlb7_config, &av7110->i2c_adap);
			if (av7110->fe) {
				av7110->fe->ops.tuner_ops.set_params = alps_tdlb7_tuner_set_params;
			fe = dvb_attach(sp8870_attach, &alps_tdlb7_config, &av7110->i2c_adap);
			if (fe) {
				fe->ops.tuner_ops.set_params = alps_tdlb7_tuner_set_params;
				av7110->fe = fe;
				break;
			}
		}
		/* fall-thru */

		case 0x0008: // Hauppauge/TT DVB-T