Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13396
b: refs/heads/master
c: 30556b2
h: refs/heads/master
v: v3
  • Loading branch information
Markus Rechberger authored and Linus Torvalds committed Nov 9, 2005
1 parent 121fb3f commit 4927e1b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 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: 08eca13dc407c389f04ce295144bb3fcd996a10d
refs/heads/master: 30556b23f31973ca311341277c4e4b128c0528bb
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/em28xx/em28xx-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ struct em2820_board em2820_boards[] = {
.decoder = EM2820_SAA7114,
.input = {{
.type = EM2820_VMUX_TELEVISION,
.vmux = 2,
.vmux = 4,
.amux = 0,
},{
.type = EM2820_VMUX_COMPOSITE1,
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/media/video/em28xx/em28xx-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,9 @@ static int attach_inform(struct i2c_client *client)
case 0x86:
em2820_i2c_call_clients(dev, TDA9887_SET_CONFIG, &dev->tda9887_conf);
break;
case 0x42:
dprintk1(1,"attach_inform: saa7114 detected.\n");
break;
case 0x4a:
dprintk1(1,"attach_inform: saa7113 detected.\n");
break;
Expand Down
14 changes: 12 additions & 2 deletions trunk/drivers/media/video/em28xx/em28xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -493,10 +493,20 @@ inline static int em2820_gamma_set(struct em2820 *dev, s32 val)
}

/*FIXME: maxw should be dependent of alt mode */
#define norm_maxw(dev) 720
inline static unsigned int norm_maxw(struct em2820 *dev)
{
switch(dev->model){
case (EM2820_BOARD_MSI_VOX_USB_2): return(640);
default: return(720);
}
}

inline static unsigned int norm_maxh(struct em2820 *dev)
{
return (dev->tvnorm->id & V4L2_STD_625_50) ? 576 : 480;
switch(dev->model){
case (EM2820_BOARD_MSI_VOX_USB_2): return(480);
default: return (dev->tvnorm->id & V4L2_STD_625_50) ? 576 : 480;
}
}

#endif

0 comments on commit 4927e1b

Please sign in to comment.