OSDN Git Service

V4L/DVB (6846): tda9887: initialize mode to T_STANDBY at startup
authorMichael Krufky <mkrufky@linuxtv.org>
Mon, 17 Dec 2007 12:49:33 +0000 (09:49 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:57 +0000 (19:03 -0200)
Ensure that the audio is muted at attach-time

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tda9887.c

index 5085cb9..2abb76f 100644 (file)
@@ -674,6 +674,7 @@ struct dvb_frontend *tda9887_attach(struct dvb_frontend *fe,
 
        priv->i2c_props.addr = i2c_addr;
        priv->i2c_props.adap = i2c_adap;
+       priv->mode = T_STANDBY;
 
        tuner_info("tda988[5/6/7] found\n");