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

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

V4L/DVB (12166): cx23885: add FIXME comment above set_frontend override



add FIXME comment to indicate that the set_frontend override is a
temporary hack.  This will be done a better way in the next kernel.

Signed-off-by: default avatarMichael Krufky <mkrufky@kernellabs.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent f35b9e80
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -527,6 +527,7 @@ static int dvb_register(struct cx23885_tsport *port)
				   &hauppauge_hvr127x_config);
		}

		/* FIXME: temporary hack */
		/* define bridge override to set_frontend */
		port->set_frontend_save = fe0->dvb.frontend->ops.set_frontend;
		fe0->dvb.frontend->ops.set_frontend = cx23885_dvb_set_frontend;
+2 −0
Original line number Diff line number Diff line
@@ -288,6 +288,8 @@ struct cx23885_tsport {
	/* Allow a single tsport to have multiple frontends */
	u32                        num_frontends;
	void                       *port_priv;

	/* FIXME: temporary hack */
	int (*set_frontend_save) (struct dvb_frontend *,
				  struct dvb_frontend_parameters *);
};