From b841247ac53060b00af019ab871ec709dc5e5ab4 Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Thu, 27 Oct 2005 06:18:10 +0000 Subject: - Add support for AVerTVHD MCE a180. - Like Philips TUV1236D, if NIM is ALPS TDHU2 then write directly to tuner. Signed-off-by: Michael Krufky --- linux/drivers/media/dvb/frontends/nxt200x.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/linux/drivers/media/dvb/frontends/nxt200x.c b/linux/drivers/media/dvb/frontends/nxt200x.c index e73a172a4..f5886a045 100644 --- a/linux/drivers/media/dvb/frontends/nxt200x.c +++ b/linux/drivers/media/dvb/frontends/nxt200x.c @@ -342,8 +342,9 @@ static int nxt200x_writetuner (struct nxt200x_state* state, u8* data) dprintk("Tuner Bytes: %02X %02X %02X %02X\n", data[0], data[1], data[2], data[3]); - /* if pll is a Philips TUV1236D then write directly to tuner */ - if (strcmp(state->config->pll_desc->name, "Philips TUV1236D") == 0) { + /* if pll is Philips TUV1236D or ALPS TDHU2 write directly to tuner */ + if ((strcmp(state->config->pll_desc->name, "Philips TUV1236D") == 0) || + (strcmp(state->config->pll_desc->name, "ALPS TDHU2") == 0)) { if (i2c_writebytes(state, state->config->pll_address, data, 4)) printk(KERN_WARNING "nxt200x: error writing to tuner\n"); /* wait until we have a lock */ -- cgit v1.2.3