[media] ds3000: lock led procedure added

TeVii s660 and others have LED for lock indication.
Let's use it in right order.

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Igor M. Liplianin
2012-12-28 19:40:24 -03:00
committed by Mauro Carvalho Chehab
부모 38f7889cea
커밋 43385c8a64
3개의 변경된 파일20개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@@ -955,6 +955,11 @@ static struct ts2020_config dw2104_ts2020_config = {
.tuner_address = 0x60,
};
static struct ds3000_config s660_ds3000_config = {
.demod_address = 0x68,
.set_lock_led = dw210x_led_ctrl,
};
static struct stv0900_config dw2104a_stv0900_config = {
.demod_address = 0x6a,
.demod_mode = 0,
@@ -1200,7 +1205,7 @@ static int ds3000_frontend_attach(struct dvb_usb_adapter *d)
struct s6x0_state *st = (struct s6x0_state *)d->dev->priv;
u8 obuf[] = {7, 1};
d->fe_adap[0].fe = dvb_attach(ds3000_attach, &dw2104_ds3000_config,
d->fe_adap[0].fe = dvb_attach(ds3000_attach, &s660_ds3000_config,
&d->dev->i2c_adap);
if (d->fe_adap[0].fe == NULL)