Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76405
b: refs/heads/master
c: cb77d01
h: refs/heads/master
i:
  76403: 570a1ac
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 1f33ea9 commit c3fe7d1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 14 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: 195a4ef627e110cd468a69fdb973548e6914577a
refs/heads/master: cb77d010221e66c63f4a71546fed73be9b12b9a3
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/em28xx/Kconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config VIDEO_EM28XX
tristate "Empia EM2800/2820/2840 USB video capture support"
depends on VIDEO_V4L1 && I2C && INPUT
depends on VIDEO_DEV && I2C && INPUT
select VIDEO_TUNER
select VIDEO_TVEEPROM
select VIDEO_IR
Expand Down
10 changes: 0 additions & 10 deletions trunk/drivers/media/video/em28xx/em28xx-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1675,16 +1675,6 @@ static int em28xx_init_dev(struct em28xx **devhandle, struct usb_device *udev,
dev->em28xx_read_reg_req = em28xx_read_reg_req;
dev->is_em2800 = em28xx_boards[dev->model].is_em2800;

/* setup video picture settings for saa7113h */
memset(&dev->vpic, 0, sizeof(dev->vpic));
dev->vpic.colour = 128 << 8;
dev->vpic.hue = 128 << 8;
dev->vpic.brightness = 128 << 8;
dev->vpic.contrast = 192 << 8;
dev->vpic.whiteness = 128 << 8; /* This one isn't used */
dev->vpic.depth = 16;
dev->vpic.palette = VIDEO_PALETTE_YUV422;

em28xx_pre_card_setup(dev);

errCode = em28xx_config(dev);
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/media/video/em28xx/em28xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#ifndef _EM28XX_H
#define _EM28XX_H

#include <linux/videodev.h>
#include <linux/videodev2.h>
#include <linux/i2c.h>
#include <linux/mutex.h>
#include <media/ir-kbd-i2c.h>
Expand Down Expand Up @@ -239,7 +239,6 @@ struct em28xx {
/* video for linux */
int users; /* user count for exclusive use */
struct video_device *vdev; /* video for linux device struct */
struct video_picture vpic; /* picture settings only used to init saa7113h */
struct em28xx_tvnorm *tvnorm; /* selected tv norm */
int ctl_freq; /* selected frequency */
unsigned int ctl_input; /* selected input */
Expand Down

0 comments on commit c3fe7d1

Please sign in to comment.