Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 124463
b: refs/heads/master
c: 2e5ef2d
h: refs/heads/master
i:
  124461: 1f15155
  124459: 8bea75e
  124455: 8e07493
  124447: 29ca304
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Dec 30, 2008
1 parent 005cf07 commit 9074d0e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1a23f81b7dc3115b29cff0e4f58b5dd04a6242ad
refs/heads/master: 2e5ef2dfc45ff1ecebb0d8657b85b3fc716db9bf
6 changes: 0 additions & 6 deletions trunk/drivers/media/video/em28xx/em28xx-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -1948,12 +1948,6 @@ int em28xx_init_dev(struct em28xx **devhandle, struct usb_device *udev,

em28xx_add_into_devlist(dev);

errCode = em28xx_analog_config(dev);
if (errCode) {
em28xx_errdev("error configuring device\n");
return -ENOMEM;
}

retval = em28xx_register_analog_devices(dev);
if (retval < 0) {
em28xx_release_resources(dev);
Expand Down
11 changes: 3 additions & 8 deletions trunk/drivers/media/video/em28xx/em28xx-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1950,8 +1950,10 @@ static struct video_device *em28xx_vdev_init(struct em28xx *dev,
return vfd;
}

int em28xx_analog_config(struct em28xx *dev)
int em28xx_register_analog_devices(struct em28xx *dev)
{
int ret;

printk(KERN_INFO "%s: v4l2 driver version %d.%d.%d\n",
dev->name,
(EM28XX_VERSION_CODE >> 16) & 0xff,
Expand Down Expand Up @@ -1985,13 +1987,6 @@ int em28xx_analog_config(struct em28xx *dev)
/* FIXME: This is a very bad hack! Not all devices have TV on input 2 */
dev->ctl_input = 2;

return 0;
}

int em28xx_register_analog_devices(struct em28xx *dev)
{
int ret;

/* allocate and fill video video_device struct */
dev->vdev = em28xx_vdev_init(dev, &em28xx_video_template, "video");
if (!dev->vdev) {
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/media/video/em28xx/em28xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,6 @@ void em28xx_init_extension(struct em28xx *dev);
void em28xx_close_extension(struct em28xx *dev);

/* Provided by em28xx-video.c */
int em28xx_analog_config(struct em28xx *dev);
int em28xx_register_analog_devices(struct em28xx *dev);
void em28xx_release_analog_resources(struct em28xx *dev);

Expand Down

0 comments on commit 9074d0e

Please sign in to comment.