diff options
-rw-r--r-- | drivers/media/video/cx88/cx88-blackbird.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c index 26aac42ca8bd..67fd3302e8f2 100644 --- a/drivers/media/video/cx88/cx88-blackbird.c +++ b/drivers/media/video/cx88/cx88-blackbird.c | |||
@@ -1045,21 +1045,10 @@ static int __devinit blackbird_probe(struct pci_dev *pci_dev, | |||
1045 | cx2341x_fill_defaults(&dev->params); | 1045 | cx2341x_fill_defaults(&dev->params); |
1046 | dev->params.port = CX2341X_PORT_STREAMING; | 1046 | dev->params.port = CX2341X_PORT_STREAMING; |
1047 | 1047 | ||
1048 | switch (core->board) { | 1048 | if (core->tvnorm->id & V4L2_STD_525_60) { |
1049 | case CX88_BOARD_HAUPPAUGE_ROSLYN: | 1049 | dev->height = 480; |
1050 | if (core->tuner_formats & V4L2_STD_525_60) { | 1050 | } else { |
1051 | dev->height = 480; | 1051 | dev->height = 576; |
1052 | } else { | ||
1053 | dev->height = 576; | ||
1054 | } | ||
1055 | break; | ||
1056 | case CX88_BOARD_KWORLD_HARDWARE_MPEG_TV_XPERT: | ||
1057 | if (core->tvnorm->id & V4L2_STD_525_60) { | ||
1058 | dev->height = 480; | ||
1059 | } else { | ||
1060 | dev->height = 576; | ||
1061 | } | ||
1062 | break; | ||
1063 | } | 1052 | } |
1064 | 1053 | ||
1065 | err = cx8802_init_common(dev); | 1054 | err = cx8802_init_common(dev); |