aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx231xx
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx231xx')
-rw-r--r--drivers/media/video/cx231xx/cx231xx-audio.c2
-rw-r--r--drivers/media/video/cx231xx/cx231xx-cards.c20
-rw-r--r--drivers/media/video/cx231xx/cx231xx-core.c4
-rw-r--r--drivers/media/video/cx231xx/cx231xx-i2c.c3
-rw-r--r--drivers/media/video/cx231xx/cx231xx-video.c2
5 files changed, 4 insertions, 27 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-audio.c b/drivers/media/video/cx231xx/cx231xx-audio.c
index 0027b906f614..9ab0628b9a11 100644
--- a/drivers/media/video/cx231xx/cx231xx-audio.c
+++ b/drivers/media/video/cx231xx/cx231xx-audio.c
@@ -517,7 +517,7 @@ static int cx231xx_audio_init(struct cx231xx *dev)
517 bEndpointAddress); 517 bEndpointAddress);
518 518
519 adev->num_alt = uif->num_altsetting; 519 adev->num_alt = uif->num_altsetting;
520 cx231xx_info(": EndPoint Addr 0x%x, Alternate settings: %i\n", 520 cx231xx_info("EndPoint Addr 0x%x, Alternate settings: %i\n",
521 adev->end_point_addr, adev->num_alt); 521 adev->end_point_addr, adev->num_alt);
522 adev->alt_max_pkt_size = kmalloc(32 * adev->num_alt, GFP_KERNEL); 522 adev->alt_max_pkt_size = kmalloc(32 * adev->num_alt, GFP_KERNEL);
523 523
diff --git a/drivers/media/video/cx231xx/cx231xx-cards.c b/drivers/media/video/cx231xx/cx231xx-cards.c
index 8971f35a73e7..d2f2091a58a5 100644
--- a/drivers/media/video/cx231xx/cx231xx-cards.c
+++ b/drivers/media/video/cx231xx/cx231xx-cards.c
@@ -224,7 +224,6 @@ void cx231xx_pre_card_setup(struct cx231xx *dev)
224 cx231xx_info("Identified as %s (card=%d)\n", 224 cx231xx_info("Identified as %s (card=%d)\n",
225 dev->board.name, dev->model); 225 dev->board.name, dev->model);
226 226
227 cx231xx_info("Precard: Board is %s\n", dev->board.name);
228 /* set the direction for GPIO pins */ 227 /* set the direction for GPIO pins */
229 cx231xx_set_gpio_direction(dev, dev->board.tuner_gpio->bit, 1); 228 cx231xx_set_gpio_direction(dev, dev->board.tuner_gpio->bit, 1);
230 cx231xx_set_gpio_value(dev, dev->board.tuner_gpio->bit, 1); 229 cx231xx_set_gpio_value(dev, dev->board.tuner_gpio->bit, 1);
@@ -310,27 +309,11 @@ void cx231xx_card_setup(struct cx231xx *dev)
310 if (cx231xx_boards[dev->model].tuner_addr) 309 if (cx231xx_boards[dev->model].tuner_addr)
311 dev->tuner_addr = cx231xx_boards[dev->model].tuner_addr; 310 dev->tuner_addr = cx231xx_boards[dev->model].tuner_addr;
312 311
313 cx231xx_info(": tuner type %d, tuner address %d \n",
314 dev->tuner_type, dev->tuner_addr);
315
316 /* Do card specific if any */
317 switch (dev->model) {
318 case CX231XX_BOARD_CNXT_RDE_250:
319 /* do card specific GPIO settings if required */
320 cx231xx_info("Board is Conexant RDE 250\n");
321 break;
322 case CX231XX_BOARD_CNXT_RDU_250:
323 /* do card specific GPIO settings if required */
324 cx231xx_info("Board is Conexant RDU 250\n");
325 break;
326 }
327
328 /* request some modules */ 312 /* request some modules */
329 if (dev->board.decoder == CX231XX_AVDECODER) { 313 if (dev->board.decoder == CX231XX_AVDECODER) {
330 cx231xx_info(": Requesting cx25840 module\n");
331 dev->sd_cx25840 = 314 dev->sd_cx25840 =
332 v4l2_i2c_new_subdev(&dev->i2c_bus[0].i2c_adap, 315 v4l2_i2c_new_subdev(&dev->i2c_bus[0].i2c_adap,
333 "cx25840", "cx25840", 0x88 >> 1); 316 "cx25840", "cx25840", 0x88 >> 1);
334 if (dev->sd_cx25840 == NULL) 317 if (dev->sd_cx25840 == NULL)
335 cx231xx_info("cx25840 subdev registration failure\n"); 318 cx231xx_info("cx25840 subdev registration failure\n");
336 cx25840_call(dev, core, init, 0); 319 cx25840_call(dev, core, init, 0);
@@ -338,7 +321,6 @@ void cx231xx_card_setup(struct cx231xx *dev)
338 } 321 }
339 322
340 if (dev->board.tuner_type != TUNER_ABSENT) { 323 if (dev->board.tuner_type != TUNER_ABSENT) {
341 cx231xx_info(": Requesting Tuner module\n");
342 dev->sd_tuner = 324 dev->sd_tuner =
343 v4l2_i2c_new_subdev(&dev->i2c_bus[1].i2c_adap, 325 v4l2_i2c_new_subdev(&dev->i2c_bus[1].i2c_adap,
344 "tuner", "tuner", 0xc2 >> 1); 326 "tuner", "tuner", 0xc2 >> 1);
diff --git a/drivers/media/video/cx231xx/cx231xx-core.c b/drivers/media/video/cx231xx/cx231xx-core.c
index d0a4d4ddeb8a..0d333e679f70 100644
--- a/drivers/media/video/cx231xx/cx231xx-core.c
+++ b/drivers/media/video/cx231xx/cx231xx-core.c
@@ -125,7 +125,7 @@ int cx231xx_register_extension(struct cx231xx_ops *ops)
125 if (dev) 125 if (dev)
126 ops->init(dev); 126 ops->init(dev);
127 } 127 }
128 cx231xx_info("Cx231xx: Initialized (%s) extension\n", ops->name); 128 printk(KERN_INFO DRIVER_NAME ": %s initialized\n", ops->name);
129 mutex_unlock(&cx231xx_extension_devlist_lock); 129 mutex_unlock(&cx231xx_extension_devlist_lock);
130 mutex_unlock(&cx231xx_devlist_mutex); 130 mutex_unlock(&cx231xx_devlist_mutex);
131 return 0; 131 return 0;
@@ -143,7 +143,7 @@ void cx231xx_unregister_extension(struct cx231xx_ops *ops)
143 } 143 }
144 144
145 mutex_lock(&cx231xx_extension_devlist_lock); 145 mutex_lock(&cx231xx_extension_devlist_lock);
146 cx231xx_info("Cx231xx: Removed (%s) extension\n", ops->name); 146 printk(KERN_INFO DRIVER_NAME ": %s removed\n", ops->name);
147 list_del(&ops->next); 147 list_del(&ops->next);
148 mutex_unlock(&cx231xx_extension_devlist_lock); 148 mutex_unlock(&cx231xx_extension_devlist_lock);
149 mutex_unlock(&cx231xx_devlist_mutex); 149 mutex_unlock(&cx231xx_devlist_mutex);
diff --git a/drivers/media/video/cx231xx/cx231xx-i2c.c b/drivers/media/video/cx231xx/cx231xx-i2c.c
index f95114aa23a1..b4a03d813e00 100644
--- a/drivers/media/video/cx231xx/cx231xx-i2c.c
+++ b/drivers/media/video/cx231xx/cx231xx-i2c.c
@@ -518,8 +518,6 @@ int cx231xx_i2c_register(struct cx231xx_i2c *bus)
518 518
519 BUG_ON(!dev->cx231xx_send_usb_command); 519 BUG_ON(!dev->cx231xx_send_usb_command);
520 520
521 cx231xx_info("%s(bus = %d)\n", __func__, bus->nr);
522
523 memcpy(&bus->i2c_adap, &cx231xx_adap_template, sizeof(bus->i2c_adap)); 521 memcpy(&bus->i2c_adap, &cx231xx_adap_template, sizeof(bus->i2c_adap));
524 memcpy(&bus->i2c_algo, &cx231xx_algo, sizeof(bus->i2c_algo)); 522 memcpy(&bus->i2c_algo, &cx231xx_algo, sizeof(bus->i2c_algo));
525 memcpy(&bus->i2c_client, &cx231xx_client_template, 523 memcpy(&bus->i2c_client, &cx231xx_client_template,
@@ -537,7 +535,6 @@ int cx231xx_i2c_register(struct cx231xx_i2c *bus)
537 bus->i2c_client.adapter = &bus->i2c_adap; 535 bus->i2c_client.adapter = &bus->i2c_adap;
538 536
539 if (0 == bus->i2c_rc) { 537 if (0 == bus->i2c_rc) {
540 cx231xx_info("%s: i2c bus %d registered\n", dev->name, bus->nr);
541 if (i2c_scan) 538 if (i2c_scan)
542 cx231xx_do_i2c_scan(dev, &bus->i2c_client); 539 cx231xx_do_i2c_scan(dev, &bus->i2c_client);
543 } else 540 } else
diff --git a/drivers/media/video/cx231xx/cx231xx-video.c b/drivers/media/video/cx231xx/cx231xx-video.c
index 9b89a91e0c2a..254d2281bfcd 100644
--- a/drivers/media/video/cx231xx/cx231xx-video.c
+++ b/drivers/media/video/cx231xx/cx231xx-video.c
@@ -2353,8 +2353,6 @@ int cx231xx_register_analog_devices(struct cx231xx *dev)
2353{ 2353{
2354 int ret; 2354 int ret;
2355 2355
2356 cx231xx_info("%s()\n", __func__);
2357
2358 cx231xx_info("%s: v4l2 driver version %d.%d.%d\n", 2356 cx231xx_info("%s: v4l2 driver version %d.%d.%d\n",
2359 dev->name, 2357 dev->name,
2360 (CX231XX_VERSION_CODE >> 16) & 0xff, 2358 (CX231XX_VERSION_CODE >> 16) & 0xff,