diff options
author | Jean-François Moine <moinejf@free.fr> | 2011-04-19 13:51:15 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-20 08:27:24 -0400 |
commit | da75191b43c9078c4a2b8f656872c10e9b3fbe64 (patch) | |
tree | 891483f9bb44bbcd466ad6643d662412bcff733e /drivers/media/video | |
parent | 5396e62fa1c637f9993023c82f5a1840ab58a960 (diff) |
[media] gspca - zc3xx: Adjust the mc501cb exchanges
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/gspca/zc3xx.c | 42 |
1 files changed, 6 insertions, 36 deletions
diff --git a/drivers/media/video/gspca/zc3xx.c b/drivers/media/video/gspca/zc3xx.c index fa164e861cde..dfb1f810c831 100644 --- a/drivers/media/video/gspca/zc3xx.c +++ b/drivers/media/video/gspca/zc3xx.c | |||
@@ -3065,15 +3065,10 @@ static const struct usb_action mc501cb_InitialScale[] = { /* 320x240 */ | |||
3065 | {0xaa, 0x55, 0x0010}, /* 00,55,10,aa */ | 3065 | {0xaa, 0x55, 0x0010}, /* 00,55,10,aa */ |
3066 | {0xa0, 0xf0, 0x0199}, /* 01,99,F0,cc */ | 3066 | {0xa0, 0xf0, 0x0199}, /* 01,99,F0,cc */ |
3067 | {0xa0, 0x80, 0x019a}, /* 01,9A,80,cc */ | 3067 | {0xa0, 0x80, 0x019a}, /* 01,9A,80,cc */ |
3068 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ | ||
3069 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ | ||
3070 | {0xaa, 0x36, 0x001d}, /* 00,36,1D,aa */ | ||
3071 | {0xaa, 0x37, 0x004c}, /* 00,37,4C,aa */ | ||
3072 | {0xaa, 0x3b, 0x001d}, /* 00,3B,1D,aa */ | ||
3073 | {} | 3068 | {} |
3074 | }; | 3069 | }; |
3075 | 3070 | ||
3076 | static const struct usb_action mc501cb_50HZScale[] = { | 3071 | static const struct usb_action mc501cb_50HZ[] = { |
3077 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ | 3072 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ |
3078 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ | 3073 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ |
3079 | {0xaa, 0x36, 0x001d}, /* 00,36,1D,aa */ | 3074 | {0xaa, 0x36, 0x001d}, /* 00,36,1D,aa */ |
@@ -3082,15 +3077,10 @@ static const struct usb_action mc501cb_50HZScale[] = { | |||
3082 | {0xaa, 0x3c, 0x004c}, /* 00,3C,4C,aa */ | 3077 | {0xaa, 0x3c, 0x004c}, /* 00,3C,4C,aa */ |
3083 | {0xaa, 0x3d, 0x001d}, /* 00,3D,1D,aa */ | 3078 | {0xaa, 0x3d, 0x001d}, /* 00,3D,1D,aa */ |
3084 | {0xaa, 0x3e, 0x004c}, /* 00,3E,4C,aa */ | 3079 | {0xaa, 0x3e, 0x004c}, /* 00,3E,4C,aa */ |
3085 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ | ||
3086 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ | ||
3087 | {0xaa, 0x36, 0x003a}, /* 00,36,3A,aa */ | ||
3088 | {0xaa, 0x37, 0x0098}, /* 00,37,98,aa */ | ||
3089 | {0xaa, 0x3b, 0x003a}, /* 00,3B,3A,aa */ | ||
3090 | {} | 3080 | {} |
3091 | }; | 3081 | }; |
3092 | 3082 | ||
3093 | static const struct usb_action mc501cb_50HZ[] = { | 3083 | static const struct usb_action mc501cb_50HZScale[] = { |
3094 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ | 3084 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ |
3095 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ | 3085 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ |
3096 | {0xaa, 0x36, 0x003a}, /* 00,36,3A,aa */ | 3086 | {0xaa, 0x36, 0x003a}, /* 00,36,3A,aa */ |
@@ -3099,15 +3089,10 @@ static const struct usb_action mc501cb_50HZ[] = { | |||
3099 | {0xaa, 0x3c, 0x0098}, /* 00,3C,98,aa */ | 3089 | {0xaa, 0x3c, 0x0098}, /* 00,3C,98,aa */ |
3100 | {0xaa, 0x3d, 0x003a}, /* 00,3D,3A,aa */ | 3090 | {0xaa, 0x3d, 0x003a}, /* 00,3D,3A,aa */ |
3101 | {0xaa, 0x3e, 0x0098}, /* 00,3E,98,aa */ | 3091 | {0xaa, 0x3e, 0x0098}, /* 00,3E,98,aa */ |
3102 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ | ||
3103 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ | ||
3104 | {0xaa, 0x36, 0x0018}, /* 00,36,18,aa */ | ||
3105 | {0xaa, 0x37, 0x006a}, /* 00,37,6A,aa */ | ||
3106 | {0xaa, 0x3d, 0x0018}, /* 00,3D,18,aa */ | ||
3107 | {} | 3092 | {} |
3108 | }; | 3093 | }; |
3109 | 3094 | ||
3110 | static const struct usb_action mc501cb_60HZScale[] = { | 3095 | static const struct usb_action mc501cb_60HZ[] = { |
3111 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ | 3096 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ |
3112 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ | 3097 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ |
3113 | {0xaa, 0x36, 0x0018}, /* 00,36,18,aa */ | 3098 | {0xaa, 0x36, 0x0018}, /* 00,36,18,aa */ |
@@ -3116,15 +3101,10 @@ static const struct usb_action mc501cb_60HZScale[] = { | |||
3116 | {0xaa, 0x3e, 0x006a}, /* 00,3E,6A,aa */ | 3101 | {0xaa, 0x3e, 0x006a}, /* 00,3E,6A,aa */ |
3117 | {0xaa, 0x3b, 0x0018}, /* 00,3B,18,aa */ | 3102 | {0xaa, 0x3b, 0x0018}, /* 00,3B,18,aa */ |
3118 | {0xaa, 0x3c, 0x006a}, /* 00,3C,6A,aa */ | 3103 | {0xaa, 0x3c, 0x006a}, /* 00,3C,6A,aa */ |
3119 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ | ||
3120 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ | ||
3121 | {0xaa, 0x36, 0x0030}, /* 00,36,30,aa */ | ||
3122 | {0xaa, 0x37, 0x00d4}, /* 00,37,D4,aa */ | ||
3123 | {0xaa, 0x3d, 0x0030}, /* 00,3D,30,aa */ | ||
3124 | {} | 3104 | {} |
3125 | }; | 3105 | }; |
3126 | 3106 | ||
3127 | static const struct usb_action mc501cb_60HZ[] = { | 3107 | static const struct usb_action mc501cb_60HZScale[] = { |
3128 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ | 3108 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ |
3129 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ | 3109 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ |
3130 | {0xaa, 0x36, 0x0030}, /* 00,36,30,aa */ | 3110 | {0xaa, 0x36, 0x0030}, /* 00,36,30,aa */ |
@@ -3133,15 +3113,10 @@ static const struct usb_action mc501cb_60HZ[] = { | |||
3133 | {0xaa, 0x3e, 0x00d4}, /* 00,3E,D4,aa */ | 3113 | {0xaa, 0x3e, 0x00d4}, /* 00,3E,D4,aa */ |
3134 | {0xaa, 0x3b, 0x0030}, /* 00,3B,30,aa */ | 3114 | {0xaa, 0x3b, 0x0030}, /* 00,3B,30,aa */ |
3135 | {0xaa, 0x3c, 0x00d4}, /* 00,3C,D4,aa */ | 3115 | {0xaa, 0x3c, 0x00d4}, /* 00,3C,D4,aa */ |
3136 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ | ||
3137 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ | ||
3138 | {0xaa, 0x36, 0x0018}, /* 00,36,18,aa */ | ||
3139 | {0xaa, 0x37, 0x006a}, /* 00,37,6A,aa */ | ||
3140 | {0xaa, 0x3d, 0x0018}, /* 00,3D,18,aa */ | ||
3141 | {} | 3116 | {} |
3142 | }; | 3117 | }; |
3143 | 3118 | ||
3144 | static const struct usb_action mc501cb_NoFlikerScale[] = { | 3119 | static const struct usb_action mc501cb_NoFliker[] = { |
3145 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ | 3120 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ |
3146 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ | 3121 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ |
3147 | {0xaa, 0x36, 0x0018}, /* 00,36,18,aa */ | 3122 | {0xaa, 0x36, 0x0018}, /* 00,36,18,aa */ |
@@ -3150,15 +3125,10 @@ static const struct usb_action mc501cb_NoFlikerScale[] = { | |||
3150 | {0xaa, 0x3e, 0x006a}, /* 00,3E,6A,aa */ | 3125 | {0xaa, 0x3e, 0x006a}, /* 00,3E,6A,aa */ |
3151 | {0xaa, 0x3b, 0x0018}, /* 00,3B,18,aa */ | 3126 | {0xaa, 0x3b, 0x0018}, /* 00,3B,18,aa */ |
3152 | {0xaa, 0x3c, 0x006a}, /* 00,3C,6A,aa */ | 3127 | {0xaa, 0x3c, 0x006a}, /* 00,3C,6A,aa */ |
3153 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ | ||
3154 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ | ||
3155 | {0xaa, 0x36, 0x0030}, /* 00,36,30,aa */ | ||
3156 | {0xaa, 0x37, 0x00d4}, /* 00,37,D4,aa */ | ||
3157 | {0xaa, 0x3d, 0x0030}, /* 00,3D,30,aa */ | ||
3158 | {} | 3128 | {} |
3159 | }; | 3129 | }; |
3160 | 3130 | ||
3161 | static const struct usb_action mc501cb_NoFliker[] = { | 3131 | static const struct usb_action mc501cb_NoFlikerScale[] = { |
3162 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ | 3132 | {0xaa, 0x03, 0x0003}, /* 00,03,03,aa */ |
3163 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ | 3133 | {0xaa, 0x10, 0x00fc}, /* 00,10,fc,aa */ |
3164 | {0xaa, 0x36, 0x0030}, /* 00,36,30,aa */ | 3134 | {0xaa, 0x36, 0x0030}, /* 00,36,30,aa */ |