diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 17:53:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 17:53:40 -0400 |
commit | 2d5e3e8d28a7820de1eb7b18a7c15d645bb26992 (patch) | |
tree | e6af4574977947de83e670dad1f71505b249fe1c /drivers/media/video/cx88/cx88-i2c.c | |
parent | b57ab7632b8fc1eef139bbbb7a89002be61f99e1 (diff) | |
parent | aed6abd662c2903733bea7fcd3856c306e650680 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb
* git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (28 commits)
V4L-DVB(7789a): cx18: fix symbol conflict with ivtv driver
V4L/DVB (7789): tuner: remove static dependencies on analog tuner sub-modules
V4L/DVB (7785): [2.6 patch] make mt9{m001,v022}_controls[] static
V4L/DVB (7786): cx18: new driver for the Conexant CX23418 MPEG encoder chip
V4L/DVB (7783): drivers/media/dvb/frontends/s5h1420.c: printk fix
V4L/DVB (7782): pvrusb2: Driver is no longer experimental
V4L/DVB (7781): pvrusb2-dvb: include dvb support by default and update Kconfig help text
V4L/DVB (7780): pvrusb2: always enable support for OnAir Creator / HDTV USB2
V4L/DVB (7779): pvrusb2-dvb: quiet down noise in kernel log for feed debug
Rename common tuner Kconfig names to use the same
Fix V4L/DVB core help messages
V4L/DVB (7769): Move other terrestrial tuners to common/tuners
V4L/DVB (7768): reorganize some DVB-S Kconfig items
V4L/DVB(7767): Move tuners to common/tuners
V4L/DVB (7766): saa7134: add another PCI ID for Beholder M6
V4L/DVB (7765): Add support for Beholder BeholdTV H6
V4L/DVB (7763): ivtv: add tuner support for the AverMedia M116
V4L/DVB (7762): ivtv: fix tuner detection for PAL-N/Nc
V4L/DVB (7761): ivtv: increase the DMA timeout from 100 to 300 ms
V4L/DVB (7759): ivtv: increase version number to 1.2.1
...
Diffstat (limited to 'drivers/media/video/cx88/cx88-i2c.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-i2c.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/drivers/media/video/cx88/cx88-i2c.c b/drivers/media/video/cx88/cx88-i2c.c index c6b44732a082..00aa7a3f1105 100644 --- a/drivers/media/video/cx88/cx88-i2c.c +++ b/drivers/media/video/cx88/cx88-i2c.c | |||
@@ -104,37 +104,7 @@ static int attach_inform(struct i2c_client *client) | |||
104 | 104 | ||
105 | dprintk(1, "%s i2c attach [addr=0x%x,client=%s]\n", | 105 | dprintk(1, "%s i2c attach [addr=0x%x,client=%s]\n", |
106 | client->driver->driver.name, client->addr, client->name); | 106 | client->driver->driver.name, client->addr, client->name); |
107 | if (!client->driver->command) | ||
108 | return 0; | ||
109 | |||
110 | if (core->board.radio_type != UNSET) { | ||
111 | if ((core->board.radio_addr==ADDR_UNSET)||(core->board.radio_addr==client->addr)) { | ||
112 | tun_setup.mode_mask = T_RADIO; | ||
113 | tun_setup.type = core->board.radio_type; | ||
114 | tun_setup.addr = core->board.radio_addr; | ||
115 | tun_setup.tuner_callback = cx88_tuner_callback; | ||
116 | client->driver->command (client, TUNER_SET_TYPE_ADDR, &tun_setup); | ||
117 | } | ||
118 | } | ||
119 | if (core->board.tuner_type != UNSET) { | ||
120 | if ((core->board.tuner_addr==ADDR_UNSET)||(core->board.tuner_addr==client->addr)) { | ||
121 | |||
122 | tun_setup.mode_mask = T_ANALOG_TV; | ||
123 | tun_setup.type = core->board.tuner_type; | ||
124 | tun_setup.addr = core->board.tuner_addr; | ||
125 | tun_setup.tuner_callback = cx88_tuner_callback; | ||
126 | client->driver->command (client,TUNER_SET_TYPE_ADDR, &tun_setup); | ||
127 | } | ||
128 | } | ||
129 | |||
130 | if (core->board.tda9887_conf) { | ||
131 | struct v4l2_priv_tun_config tda9887_cfg; | ||
132 | 107 | ||
133 | tda9887_cfg.tuner = TUNER_TDA9887; | ||
134 | tda9887_cfg.priv = &core->board.tda9887_conf; | ||
135 | |||
136 | client->driver->command(client, TUNER_SET_CONFIG, &tda9887_cfg); | ||
137 | } | ||
138 | return 0; | 108 | return 0; |
139 | } | 109 | } |
140 | 110 | ||