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

Commit 4af699c1 authored by Niklas Edmundsson's avatar Niklas Edmundsson Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (13791): [TDA10021] Do not claim TDA10023

parent 42f541bf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -426,6 +426,10 @@ struct dvb_frontend* tda10021_attach(const struct tda1002x_config* config,
	id = tda10021_readreg(state, 0x1a);
	if ((id & 0xf0) != 0x70) goto error;

	/* Don't claim TDA10023 */
	if (id == 0x7d)
		goto error;

	printk("TDA10021: i2c-addr = 0x%02x, id = 0x%02x\n",
	       state->config->demod_address, id);