diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-06-22 14:32:04 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-06-22 14:32:04 -0400 |
commit | 0e789314f8c0b50bd19bf08dc5624b9604d60183 (patch) | |
tree | 64b6b9655e944284937f5eeff643f0754f35d0af /drivers/media/video/cx18 | |
parent | f5dec51172b81db226a23f309bc737ad021af35b (diff) | |
parent | 7e27d6e778cd87b6f2415515d7127eba53fe5d02 (diff) |
Merge commit 'v2.6.35-rc3' into for-linus
Diffstat (limited to 'drivers/media/video/cx18')
35 files changed, 101 insertions, 113 deletions
diff --git a/drivers/media/video/cx18/cx18-alsa-main.c b/drivers/media/video/cx18/cx18-alsa-main.c index b5d7cbf4528a..d50d69da387b 100644 --- a/drivers/media/video/cx18/cx18-alsa-main.c +++ b/drivers/media/video/cx18/cx18-alsa-main.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * ALSA interface to cx18 PCM capture streams | 2 | * ALSA interface to cx18 PCM capture streams |
3 | * | 3 | * |
4 | * Copyright (C) 2009 Andy Walls <awalls@radix.net> | 4 | * Copyright (C) 2009 Andy Walls <awalls@md.metrocast.net> |
5 | * Copyright (C) 2009 Devin Heitmueller <dheitmueller@kernellabs.com> | 5 | * Copyright (C) 2009 Devin Heitmueller <dheitmueller@kernellabs.com> |
6 | * | 6 | * |
7 | * Portions of this work were sponsored by ONELAN Limited. | 7 | * Portions of this work were sponsored by ONELAN Limited. |
diff --git a/drivers/media/video/cx18/cx18-alsa-mixer.c b/drivers/media/video/cx18/cx18-alsa-mixer.c index ef21114309fe..341bddc00b77 100644 --- a/drivers/media/video/cx18/cx18-alsa-mixer.c +++ b/drivers/media/video/cx18/cx18-alsa-mixer.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * ALSA mixer controls for the | 2 | * ALSA mixer controls for the |
3 | * ALSA interface to cx18 PCM capture streams | 3 | * ALSA interface to cx18 PCM capture streams |
4 | * | 4 | * |
5 | * Copyright (C) 2009 Andy Walls <awalls@radix.net> | 5 | * Copyright (C) 2009 Andy Walls <awalls@md.metrocast.net> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-alsa-mixer.h b/drivers/media/video/cx18/cx18-alsa-mixer.h index 2d418db000fe..ec9238793f6f 100644 --- a/drivers/media/video/cx18/cx18-alsa-mixer.h +++ b/drivers/media/video/cx18/cx18-alsa-mixer.h | |||
@@ -2,7 +2,7 @@ | |||
2 | * ALSA mixer controls for the | 2 | * ALSA mixer controls for the |
3 | * ALSA interface to cx18 PCM capture streams | 3 | * ALSA interface to cx18 PCM capture streams |
4 | * | 4 | * |
5 | * Copyright (C) 2009 Andy Walls <awalls@radix.net> | 5 | * Copyright (C) 2009 Andy Walls <awalls@md.metrocast.net> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-alsa-pcm.c b/drivers/media/video/cx18/cx18-alsa-pcm.c index 2bd312daeb1e..8f55692db36d 100644 --- a/drivers/media/video/cx18/cx18-alsa-pcm.c +++ b/drivers/media/video/cx18/cx18-alsa-pcm.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * ALSA PCM device for the | 2 | * ALSA PCM device for the |
3 | * ALSA interface to cx18 PCM capture streams | 3 | * ALSA interface to cx18 PCM capture streams |
4 | * | 4 | * |
5 | * Copyright (C) 2009 Andy Walls <awalls@radix.net> | 5 | * Copyright (C) 2009 Andy Walls <awalls@md.metrocast.net> |
6 | * Copyright (C) 2009 Devin Heitmueller <dheitmueller@kernellabs.com> | 6 | * Copyright (C) 2009 Devin Heitmueller <dheitmueller@kernellabs.com> |
7 | * | 7 | * |
8 | * Portions of this work were sponsored by ONELAN Limited. | 8 | * Portions of this work were sponsored by ONELAN Limited. |
diff --git a/drivers/media/video/cx18/cx18-alsa-pcm.h b/drivers/media/video/cx18/cx18-alsa-pcm.h index 325662c647a0..d26e51f94577 100644 --- a/drivers/media/video/cx18/cx18-alsa-pcm.h +++ b/drivers/media/video/cx18/cx18-alsa-pcm.h | |||
@@ -2,7 +2,7 @@ | |||
2 | * ALSA PCM device for the | 2 | * ALSA PCM device for the |
3 | * ALSA interface to cx18 PCM capture streams | 3 | * ALSA interface to cx18 PCM capture streams |
4 | * | 4 | * |
5 | * Copyright (C) 2009 Andy Walls <awalls@radix.net> | 5 | * Copyright (C) 2009 Andy Walls <awalls@md.metrocast.net> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-alsa.h b/drivers/media/video/cx18/cx18-alsa.h index 88a1cde7540b..447da374c9e8 100644 --- a/drivers/media/video/cx18/cx18-alsa.h +++ b/drivers/media/video/cx18/cx18-alsa.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * ALSA interface to cx18 PCM capture streams | 2 | * ALSA interface to cx18 PCM capture streams |
3 | * | 3 | * |
4 | * Copyright (C) 2009 Andy Walls <awalls@radix.net> | 4 | * Copyright (C) 2009 Andy Walls <awalls@md.metrocast.net> |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-av-audio.c b/drivers/media/video/cx18/cx18-av-audio.c index 9e30983f2ff6..43d09a24b262 100644 --- a/drivers/media/video/cx18/cx18-av-audio.c +++ b/drivers/media/video/cx18/cx18-av-audio.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * Derived from cx25840-audio.c | 4 | * Derived from cx25840-audio.c |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
7 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 7 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or | 9 | * This program is free software; you can redistribute it and/or |
10 | * modify it under the terms of the GNU General Public License | 10 | * modify it under the terms of the GNU General Public License |
diff --git a/drivers/media/video/cx18/cx18-av-core.c b/drivers/media/video/cx18/cx18-av-core.c index 0e5006b14279..a41951cab276 100644 --- a/drivers/media/video/cx18/cx18-av-core.c +++ b/drivers/media/video/cx18/cx18-av-core.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * Derived from cx25840-core.c | 4 | * Derived from cx25840-core.c |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
7 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 7 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or | 9 | * This program is free software; you can redistribute it and/or |
10 | * modify it under the terms of the GNU General Public License | 10 | * modify it under the terms of the GNU General Public License |
@@ -1021,86 +1021,74 @@ static int cx18_av_queryctrl(struct v4l2_subdev *sd, struct v4l2_queryctrl *qc) | |||
1021 | return -EINVAL; | 1021 | return -EINVAL; |
1022 | } | 1022 | } |
1023 | 1023 | ||
1024 | static int cx18_av_g_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt) | 1024 | static int cx18_av_s_mbus_fmt(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *fmt) |
1025 | { | ||
1026 | if (fmt->type != V4L2_BUF_TYPE_SLICED_VBI_CAPTURE) | ||
1027 | return -EINVAL; | ||
1028 | return cx18_av_g_sliced_fmt(sd, &fmt->fmt.sliced); | ||
1029 | } | ||
1030 | |||
1031 | static int cx18_av_s_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt) | ||
1032 | { | 1025 | { |
1033 | struct cx18_av_state *state = to_cx18_av_state(sd); | 1026 | struct cx18_av_state *state = to_cx18_av_state(sd); |
1034 | struct cx18 *cx = v4l2_get_subdevdata(sd); | 1027 | struct cx18 *cx = v4l2_get_subdevdata(sd); |
1035 | |||
1036 | struct v4l2_pix_format *pix; | ||
1037 | int HSC, VSC, Vsrc, Hsrc, filter, Vlines; | 1028 | int HSC, VSC, Vsrc, Hsrc, filter, Vlines; |
1038 | int is_50Hz = !(state->std & V4L2_STD_525_60); | 1029 | int is_50Hz = !(state->std & V4L2_STD_525_60); |
1039 | 1030 | ||
1040 | switch (fmt->type) { | 1031 | if (fmt->code != V4L2_MBUS_FMT_FIXED) |
1041 | case V4L2_BUF_TYPE_VIDEO_CAPTURE: | 1032 | return -EINVAL; |
1042 | pix = &(fmt->fmt.pix); | ||
1043 | 1033 | ||
1044 | Vsrc = (cx18_av_read(cx, 0x476) & 0x3f) << 4; | 1034 | fmt->field = V4L2_FIELD_INTERLACED; |
1045 | Vsrc |= (cx18_av_read(cx, 0x475) & 0xf0) >> 4; | 1035 | fmt->colorspace = V4L2_COLORSPACE_SMPTE170M; |
1046 | 1036 | ||
1047 | Hsrc = (cx18_av_read(cx, 0x472) & 0x3f) << 4; | 1037 | Vsrc = (cx18_av_read(cx, 0x476) & 0x3f) << 4; |
1048 | Hsrc |= (cx18_av_read(cx, 0x471) & 0xf0) >> 4; | 1038 | Vsrc |= (cx18_av_read(cx, 0x475) & 0xf0) >> 4; |
1049 | 1039 | ||
1050 | /* | 1040 | Hsrc = (cx18_av_read(cx, 0x472) & 0x3f) << 4; |
1051 | * This adjustment reflects the excess of vactive, set in | 1041 | Hsrc |= (cx18_av_read(cx, 0x471) & 0xf0) >> 4; |
1052 | * cx18_av_std_setup(), above standard values: | ||
1053 | * | ||
1054 | * 480 + 1 for 60 Hz systems | ||
1055 | * 576 + 3 for 50 Hz systems | ||
1056 | */ | ||
1057 | Vlines = pix->height + (is_50Hz ? 3 : 1); | ||
1058 | |||
1059 | /* | ||
1060 | * Invalid height and width scaling requests are: | ||
1061 | * 1. width less than 1/16 of the source width | ||
1062 | * 2. width greater than the source width | ||
1063 | * 3. height less than 1/8 of the source height | ||
1064 | * 4. height greater than the source height | ||
1065 | */ | ||
1066 | if ((pix->width * 16 < Hsrc) || (Hsrc < pix->width) || | ||
1067 | (Vlines * 8 < Vsrc) || (Vsrc < Vlines)) { | ||
1068 | CX18_ERR_DEV(sd, "%dx%d is not a valid size!\n", | ||
1069 | pix->width, pix->height); | ||
1070 | return -ERANGE; | ||
1071 | } | ||
1072 | 1042 | ||
1073 | HSC = (Hsrc * (1 << 20)) / pix->width - (1 << 20); | 1043 | /* |
1074 | VSC = (1 << 16) - (Vsrc * (1 << 9) / Vlines - (1 << 9)); | 1044 | * This adjustment reflects the excess of vactive, set in |
1075 | VSC &= 0x1fff; | 1045 | * cx18_av_std_setup(), above standard values: |
1046 | * | ||
1047 | * 480 + 1 for 60 Hz systems | ||
1048 | * 576 + 3 for 50 Hz systems | ||
1049 | */ | ||
1050 | Vlines = fmt->height + (is_50Hz ? 3 : 1); | ||
1076 | 1051 | ||
1077 | if (pix->width >= 385) | 1052 | /* |
1078 | filter = 0; | 1053 | * Invalid height and width scaling requests are: |
1079 | else if (pix->width > 192) | 1054 | * 1. width less than 1/16 of the source width |
1080 | filter = 1; | 1055 | * 2. width greater than the source width |
1081 | else if (pix->width > 96) | 1056 | * 3. height less than 1/8 of the source height |
1082 | filter = 2; | 1057 | * 4. height greater than the source height |
1083 | else | 1058 | */ |
1084 | filter = 3; | 1059 | if ((fmt->width * 16 < Hsrc) || (Hsrc < fmt->width) || |
1060 | (Vlines * 8 < Vsrc) || (Vsrc < Vlines)) { | ||
1061 | CX18_ERR_DEV(sd, "%dx%d is not a valid size!\n", | ||
1062 | fmt->width, fmt->height); | ||
1063 | return -ERANGE; | ||
1064 | } | ||
1085 | 1065 | ||
1086 | CX18_DEBUG_INFO_DEV(sd, | 1066 | HSC = (Hsrc * (1 << 20)) / fmt->width - (1 << 20); |
1087 | "decoder set size %dx%d -> scale %ux%u\n", | 1067 | VSC = (1 << 16) - (Vsrc * (1 << 9) / Vlines - (1 << 9)); |
1088 | pix->width, pix->height, HSC, VSC); | 1068 | VSC &= 0x1fff; |
1089 | |||
1090 | /* HSCALE=HSC */ | ||
1091 | cx18_av_write(cx, 0x418, HSC & 0xff); | ||
1092 | cx18_av_write(cx, 0x419, (HSC >> 8) & 0xff); | ||
1093 | cx18_av_write(cx, 0x41a, HSC >> 16); | ||
1094 | /* VSCALE=VSC */ | ||
1095 | cx18_av_write(cx, 0x41c, VSC & 0xff); | ||
1096 | cx18_av_write(cx, 0x41d, VSC >> 8); | ||
1097 | /* VS_INTRLACE=1 VFILT=filter */ | ||
1098 | cx18_av_write(cx, 0x41e, 0x8 | filter); | ||
1099 | break; | ||
1100 | 1069 | ||
1101 | default: | 1070 | if (fmt->width >= 385) |
1102 | return -EINVAL; | 1071 | filter = 0; |
1103 | } | 1072 | else if (fmt->width > 192) |
1073 | filter = 1; | ||
1074 | else if (fmt->width > 96) | ||
1075 | filter = 2; | ||
1076 | else | ||
1077 | filter = 3; | ||
1078 | |||
1079 | CX18_DEBUG_INFO_DEV(sd, | ||
1080 | "decoder set size %dx%d -> scale %ux%u\n", | ||
1081 | fmt->width, fmt->height, HSC, VSC); | ||
1082 | |||
1083 | /* HSCALE=HSC */ | ||
1084 | cx18_av_write(cx, 0x418, HSC & 0xff); | ||
1085 | cx18_av_write(cx, 0x419, (HSC >> 8) & 0xff); | ||
1086 | cx18_av_write(cx, 0x41a, HSC >> 16); | ||
1087 | /* VSCALE=VSC */ | ||
1088 | cx18_av_write(cx, 0x41c, VSC & 0xff); | ||
1089 | cx18_av_write(cx, 0x41d, VSC >> 8); | ||
1090 | /* VS_INTRLACE=1 VFILT=filter */ | ||
1091 | cx18_av_write(cx, 0x41e, 0x8 | filter); | ||
1104 | return 0; | 1092 | return 0; |
1105 | } | 1093 | } |
1106 | 1094 | ||
@@ -1398,8 +1386,7 @@ static const struct v4l2_subdev_audio_ops cx18_av_audio_ops = { | |||
1398 | static const struct v4l2_subdev_video_ops cx18_av_video_ops = { | 1386 | static const struct v4l2_subdev_video_ops cx18_av_video_ops = { |
1399 | .s_routing = cx18_av_s_video_routing, | 1387 | .s_routing = cx18_av_s_video_routing, |
1400 | .s_stream = cx18_av_s_stream, | 1388 | .s_stream = cx18_av_s_stream, |
1401 | .g_fmt = cx18_av_g_fmt, | 1389 | .s_mbus_fmt = cx18_av_s_mbus_fmt, |
1402 | .s_fmt = cx18_av_s_fmt, | ||
1403 | }; | 1390 | }; |
1404 | 1391 | ||
1405 | static const struct v4l2_subdev_vbi_ops cx18_av_vbi_ops = { | 1392 | static const struct v4l2_subdev_vbi_ops cx18_av_vbi_ops = { |
diff --git a/drivers/media/video/cx18/cx18-av-core.h b/drivers/media/video/cx18/cx18-av-core.h index c106967bdcc3..1956991795e3 100644 --- a/drivers/media/video/cx18/cx18-av-core.h +++ b/drivers/media/video/cx18/cx18-av-core.h | |||
@@ -4,7 +4,7 @@ | |||
4 | * Derived from cx25840-core.h | 4 | * Derived from cx25840-core.h |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
7 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 7 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or | 9 | * This program is free software; you can redistribute it and/or |
10 | * modify it under the terms of the GNU General Public License | 10 | * modify it under the terms of the GNU General Public License |
diff --git a/drivers/media/video/cx18/cx18-av-firmware.c b/drivers/media/video/cx18/cx18-av-firmware.c index b9e8cc5d264a..280aa4d22488 100644 --- a/drivers/media/video/cx18/cx18-av-firmware.c +++ b/drivers/media/video/cx18/cx18-av-firmware.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * cx18 ADEC firmware functions | 2 | * cx18 ADEC firmware functions |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
5 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 5 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or | 7 | * This program is free software; you can redistribute it and/or |
8 | * modify it under the terms of the GNU General Public License | 8 | * modify it under the terms of the GNU General Public License |
diff --git a/drivers/media/video/cx18/cx18-cards.c b/drivers/media/video/cx18/cx18-cards.c index 74e122b5fc49..6b805afe5d20 100644 --- a/drivers/media/video/cx18/cx18-cards.c +++ b/drivers/media/video/cx18/cx18-cards.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * Derived from ivtv-cards.c | 4 | * Derived from ivtv-cards.c |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
7 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 7 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-cards.h b/drivers/media/video/cx18/cx18-cards.h index 796e517300ac..3e750068f275 100644 --- a/drivers/media/video/cx18/cx18-cards.h +++ b/drivers/media/video/cx18/cx18-cards.h | |||
@@ -4,7 +4,7 @@ | |||
4 | * Derived from ivtv-cards.c | 4 | * Derived from ivtv-cards.c |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
7 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 7 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-controls.c b/drivers/media/video/cx18/cx18-controls.c index 4b4b46544d5a..67043c7b452b 100644 --- a/drivers/media/video/cx18/cx18-controls.c +++ b/drivers/media/video/cx18/cx18-controls.c | |||
@@ -297,14 +297,13 @@ int cx18_s_ext_ctrls(struct file *file, void *fh, struct v4l2_ext_controls *c) | |||
297 | if (p.video_encoding != cx->params.video_encoding) { | 297 | if (p.video_encoding != cx->params.video_encoding) { |
298 | int is_mpeg1 = p.video_encoding == | 298 | int is_mpeg1 = p.video_encoding == |
299 | V4L2_MPEG_VIDEO_ENCODING_MPEG_1; | 299 | V4L2_MPEG_VIDEO_ENCODING_MPEG_1; |
300 | struct v4l2_format fmt; | 300 | struct v4l2_mbus_framefmt fmt; |
301 | 301 | ||
302 | /* fix videodecoder resolution */ | 302 | /* fix videodecoder resolution */ |
303 | fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; | 303 | fmt.width = cx->params.width / (is_mpeg1 ? 2 : 1); |
304 | fmt.fmt.pix.width = cx->params.width | 304 | fmt.height = cx->params.height; |
305 | / (is_mpeg1 ? 2 : 1); | 305 | fmt.code = V4L2_MBUS_FMT_FIXED; |
306 | fmt.fmt.pix.height = cx->params.height; | 306 | v4l2_subdev_call(cx->sd_av, video, s_mbus_fmt, &fmt); |
307 | v4l2_subdev_call(cx->sd_av, video, s_fmt, &fmt); | ||
308 | } | 307 | } |
309 | priv.cx = cx; | 308 | priv.cx = cx; |
310 | priv.s = &cx->streams[id->type]; | 309 | priv.s = &cx->streams[id->type]; |
diff --git a/drivers/media/video/cx18/cx18-driver.c b/drivers/media/video/cx18/cx18-driver.c index c95a86ba33b0..df60f27337cf 100644 --- a/drivers/media/video/cx18/cx18-driver.c +++ b/drivers/media/video/cx18/cx18-driver.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * Derived from ivtv-driver.c | 4 | * Derived from ivtv-driver.c |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
7 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 7 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-driver.h b/drivers/media/video/cx18/cx18-driver.h index b9728e8eee40..9bc51a99376b 100644 --- a/drivers/media/video/cx18/cx18-driver.h +++ b/drivers/media/video/cx18/cx18-driver.h | |||
@@ -4,7 +4,7 @@ | |||
4 | * Derived from ivtv-driver.h | 4 | * Derived from ivtv-driver.h |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
7 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 7 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-dvb.c b/drivers/media/video/cx18/cx18-dvb.c index 0ae2c2e1eab5..6d19f040d70f 100644 --- a/drivers/media/video/cx18/cx18-dvb.c +++ b/drivers/media/video/cx18/cx18-dvb.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * cx18 functions for DVB support | 2 | * cx18 functions for DVB support |
3 | * | 3 | * |
4 | * Copyright (c) 2008 Steven Toth <stoth@linuxtv.org> | 4 | * Copyright (c) 2008 Steven Toth <stoth@linuxtv.org> |
5 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 5 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-fileops.c b/drivers/media/video/cx18/cx18-fileops.c index e12a15020cda..9f23b90732f2 100644 --- a/drivers/media/video/cx18/cx18-fileops.c +++ b/drivers/media/video/cx18/cx18-fileops.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * Derived from ivtv-fileops.c | 4 | * Derived from ivtv-fileops.c |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
7 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 7 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-firmware.c b/drivers/media/video/cx18/cx18-firmware.c index 83cd559cc609..1b3fb502e6be 100644 --- a/drivers/media/video/cx18/cx18-firmware.c +++ b/drivers/media/video/cx18/cx18-firmware.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * cx18 firmware functions | 2 | * cx18 firmware functions |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
5 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 5 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-gpio.c b/drivers/media/video/cx18/cx18-gpio.c index 86a204b5448e..5374aeb0cd22 100644 --- a/drivers/media/video/cx18/cx18-gpio.c +++ b/drivers/media/video/cx18/cx18-gpio.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * Derived from ivtv-gpio.c | 4 | * Derived from ivtv-gpio.c |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
7 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 7 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-gpio.h b/drivers/media/video/cx18/cx18-gpio.h index f9a5ca3566af..4aea2ef88e8d 100644 --- a/drivers/media/video/cx18/cx18-gpio.h +++ b/drivers/media/video/cx18/cx18-gpio.h | |||
@@ -4,7 +4,7 @@ | |||
4 | * Derived from ivtv-gpio.h | 4 | * Derived from ivtv-gpio.h |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
7 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 7 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-i2c.c b/drivers/media/video/cx18/cx18-i2c.c index cfa1f289b0f5..809f7d37129c 100644 --- a/drivers/media/video/cx18/cx18-i2c.c +++ b/drivers/media/video/cx18/cx18-i2c.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * Derived from ivtv-i2c.c | 4 | * Derived from ivtv-i2c.c |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
7 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 7 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-io.c b/drivers/media/video/cx18/cx18-io.c index ec5b3d7bcc6b..49b9dbd06248 100644 --- a/drivers/media/video/cx18/cx18-io.c +++ b/drivers/media/video/cx18/cx18-io.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * cx18 driver PCI memory mapped IO access routines | 2 | * cx18 driver PCI memory mapped IO access routines |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
5 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 5 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-io.h b/drivers/media/video/cx18/cx18-io.h index 2635b3a8cc96..18974d886cf7 100644 --- a/drivers/media/video/cx18/cx18-io.h +++ b/drivers/media/video/cx18/cx18-io.h | |||
@@ -2,7 +2,7 @@ | |||
2 | * cx18 driver PCI memory mapped IO access routines | 2 | * cx18 driver PCI memory mapped IO access routines |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
5 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 5 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
@@ -28,7 +28,7 @@ | |||
28 | /* | 28 | /* |
29 | * Readback and retry of MMIO access for reliability: | 29 | * Readback and retry of MMIO access for reliability: |
30 | * The concept was suggested by Steve Toth <stoth@linuxtv.org>. | 30 | * The concept was suggested by Steve Toth <stoth@linuxtv.org>. |
31 | * The implmentation is the fault of Andy Walls <awalls@radix.net>. | 31 | * The implmentation is the fault of Andy Walls <awalls@md.metrocast.net>. |
32 | * | 32 | * |
33 | * *write* functions are implied to retry the mmio unless suffixed with _noretry | 33 | * *write* functions are implied to retry the mmio unless suffixed with _noretry |
34 | * *read* functions never retry the mmio (it never helps to do so) | 34 | * *read* functions never retry the mmio (it never helps to do so) |
diff --git a/drivers/media/video/cx18/cx18-ioctl.c b/drivers/media/video/cx18/cx18-ioctl.c index 2530fc54daaf..20eaf38ba959 100644 --- a/drivers/media/video/cx18/cx18-ioctl.c +++ b/drivers/media/video/cx18/cx18-ioctl.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * Derived from ivtv-ioctl.c | 4 | * Derived from ivtv-ioctl.c |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
7 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 7 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
@@ -274,6 +274,7 @@ static int cx18_s_fmt_vid_cap(struct file *file, void *fh, | |||
274 | { | 274 | { |
275 | struct cx18_open_id *id = fh; | 275 | struct cx18_open_id *id = fh; |
276 | struct cx18 *cx = id->cx; | 276 | struct cx18 *cx = id->cx; |
277 | struct v4l2_mbus_framefmt mbus_fmt; | ||
277 | int ret; | 278 | int ret; |
278 | int w, h; | 279 | int w, h; |
279 | 280 | ||
@@ -293,9 +294,10 @@ static int cx18_s_fmt_vid_cap(struct file *file, void *fh, | |||
293 | if (atomic_read(&cx->ana_capturing) > 0) | 294 | if (atomic_read(&cx->ana_capturing) > 0) |
294 | return -EBUSY; | 295 | return -EBUSY; |
295 | 296 | ||
296 | cx->params.width = w; | 297 | mbus_fmt.width = cx->params.width = w; |
297 | cx->params.height = h; | 298 | mbus_fmt.height = cx->params.height = h; |
298 | v4l2_subdev_call(cx->sd_av, video, s_fmt, fmt); | 299 | mbus_fmt.code = V4L2_MBUS_FMT_FIXED; |
300 | v4l2_subdev_call(cx->sd_av, video, s_mbus_fmt, &mbus_fmt); | ||
299 | return cx18_g_fmt_vid_cap(file, fh, fmt); | 301 | return cx18_g_fmt_vid_cap(file, fh, fmt); |
300 | } | 302 | } |
301 | 303 | ||
diff --git a/drivers/media/video/cx18/cx18-ioctl.h b/drivers/media/video/cx18/cx18-ioctl.h index e2ca0d152116..dcb2559ad520 100644 --- a/drivers/media/video/cx18/cx18-ioctl.h +++ b/drivers/media/video/cx18/cx18-ioctl.h | |||
@@ -4,7 +4,7 @@ | |||
4 | * Derived from ivtv-ioctl.h | 4 | * Derived from ivtv-ioctl.h |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
7 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 7 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-irq.c b/drivers/media/video/cx18/cx18-irq.c index af2f504eda2b..80edfe93a3d8 100644 --- a/drivers/media/video/cx18/cx18-irq.c +++ b/drivers/media/video/cx18/cx18-irq.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * cx18 interrupt handling | 2 | * cx18 interrupt handling |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
5 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 5 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-irq.h b/drivers/media/video/cx18/cx18-irq.h index 91f0b5278ef9..30e7eaf8cb55 100644 --- a/drivers/media/video/cx18/cx18-irq.h +++ b/drivers/media/video/cx18/cx18-irq.h | |||
@@ -2,7 +2,7 @@ | |||
2 | * cx18 interrupt handling | 2 | * cx18 interrupt handling |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
5 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 5 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-mailbox.c b/drivers/media/video/cx18/cx18-mailbox.c index 6dcce297752f..956aa190ecca 100644 --- a/drivers/media/video/cx18/cx18-mailbox.c +++ b/drivers/media/video/cx18/cx18-mailbox.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * cx18 mailbox functions | 2 | * cx18 mailbox functions |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
5 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 5 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-mailbox.h b/drivers/media/video/cx18/cx18-mailbox.h index 33a3491c4537..077952fcbcca 100644 --- a/drivers/media/video/cx18/cx18-mailbox.h +++ b/drivers/media/video/cx18/cx18-mailbox.h | |||
@@ -2,7 +2,7 @@ | |||
2 | * cx18 mailbox functions | 2 | * cx18 mailbox functions |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
5 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 5 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-queue.c b/drivers/media/video/cx18/cx18-queue.c index aefc8c8cf3c1..8884537bd62f 100644 --- a/drivers/media/video/cx18/cx18-queue.c +++ b/drivers/media/video/cx18/cx18-queue.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * Derived from ivtv-queue.c | 4 | * Derived from ivtv-queue.c |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
7 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 7 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-queue.h b/drivers/media/video/cx18/cx18-queue.h index 88a6d34ad3bb..4201ddc16091 100644 --- a/drivers/media/video/cx18/cx18-queue.h +++ b/drivers/media/video/cx18/cx18-queue.h | |||
@@ -4,7 +4,7 @@ | |||
4 | * Derived from ivtv-queue.h | 4 | * Derived from ivtv-queue.h |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
7 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 7 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-scb.c b/drivers/media/video/cx18/cx18-scb.c index 34b4d03c55cd..85cc59637e54 100644 --- a/drivers/media/video/cx18/cx18-scb.c +++ b/drivers/media/video/cx18/cx18-scb.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * cx18 System Control Block initialization | 2 | * cx18 System Control Block initialization |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
5 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 5 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-scb.h b/drivers/media/video/cx18/cx18-scb.h index 368f23d08709..08877652e321 100644 --- a/drivers/media/video/cx18/cx18-scb.h +++ b/drivers/media/video/cx18/cx18-scb.h | |||
@@ -2,7 +2,7 @@ | |||
2 | * cx18 System Control Block initialization | 2 | * cx18 System Control Block initialization |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 4 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
5 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 5 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-streams.c b/drivers/media/video/cx18/cx18-streams.c index f5c91261b2db..9045f1ece0eb 100644 --- a/drivers/media/video/cx18/cx18-streams.c +++ b/drivers/media/video/cx18/cx18-streams.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * Derived from ivtv-streams.c | 4 | * Derived from ivtv-streams.c |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
7 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 7 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/cx18/cx18-streams.h b/drivers/media/video/cx18/cx18-streams.h index 0bff0fa29763..77412bee5963 100644 --- a/drivers/media/video/cx18/cx18-streams.h +++ b/drivers/media/video/cx18/cx18-streams.h | |||
@@ -4,7 +4,7 @@ | |||
4 | * Derived from ivtv-streams.h | 4 | * Derived from ivtv-streams.h |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | 6 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
7 | * Copyright (C) 2008 Andy Walls <awalls@radix.net> | 7 | * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> |
8 | * | 8 | * |
9 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |