aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/vc032x.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-03-26 05:03:28 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-06 20:44:34 -0400
commit51412aac67526e82d3b6c6351c0c9f0548656256 (patch)
tree728f09f6bb52f495fa2889d4bb0301b0df791598 /drivers/media/video/gspca/vc032x.c
parent14edcd5d5bc7717b26a7887564a4ec7356d85219 (diff)
V4L/DVB (11402): gspca - vc032x: Remove the JPEG tables of mi1320_soc.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/vc032x.c')
-rw-r--r--drivers/media/video/gspca/vc032x.c403
1 files changed, 1 insertions, 402 deletions
diff --git a/drivers/media/video/gspca/vc032x.c b/drivers/media/video/gspca/vc032x.c
index 4c802fb12cd6..e4e933c400bc 100644
--- a/drivers/media/video/gspca/vc032x.c
+++ b/drivers/media/video/gspca/vc032x.c
@@ -159,37 +159,16 @@ static const struct v4l2_pix_format vc0323_mode[] = {
159 .priv = 2}, 159 .priv = 2},
160}; 160};
161static const struct v4l2_pix_format bi_mode[] = { 161static const struct v4l2_pix_format bi_mode[] = {
162/*fixme: jeg does not work
163 {320, 240, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE,
164 .bytesperline = 320,
165 .sizeimage = 320 * 240 * 3 / 8 + 590,
166 .colorspace = V4L2_COLORSPACE_JPEG,
167 .priv = 5},
168*/
169 {320, 240, V4L2_PIX_FMT_YVYU, V4L2_FIELD_NONE, 162 {320, 240, V4L2_PIX_FMT_YVYU, V4L2_FIELD_NONE,
170 .bytesperline = 320, 163 .bytesperline = 320,
171 .sizeimage = 320 * 240 * 2, 164 .sizeimage = 320 * 240 * 2,
172 .colorspace = V4L2_COLORSPACE_SRGB, 165 .colorspace = V4L2_COLORSPACE_SRGB,
173 .priv = 4}, 166 .priv = 2},
174/*
175 {640, 480, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE,
176 .bytesperline = 640,
177 .sizeimage = 640 * 480 * 3 / 8 + 590,
178 .colorspace = V4L2_COLORSPACE_JPEG,
179 .priv = 3},
180*/
181 {640, 480, V4L2_PIX_FMT_YVYU, V4L2_FIELD_NONE, 167 {640, 480, V4L2_PIX_FMT_YVYU, V4L2_FIELD_NONE,
182 .bytesperline = 640, 168 .bytesperline = 640,
183 .sizeimage = 640 * 480 * 2, 169 .sizeimage = 640 * 480 * 2,
184 .colorspace = V4L2_COLORSPACE_SRGB, 170 .colorspace = V4L2_COLORSPACE_SRGB,
185 .priv = 2},
186/*
187 {1280, 1024, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE,
188 .bytesperline = 1280,
189 .sizeimage = 1280 * 1024 * 1 / 4 + 590,
190 .colorspace = V4L2_COLORSPACE_JPEG,
191 .priv = 1}, 171 .priv = 1},
192*/
193 {1280, 1024, V4L2_PIX_FMT_YVYU, V4L2_FIELD_NONE, 172 {1280, 1024, V4L2_PIX_FMT_YVYU, V4L2_FIELD_NONE,
194 .bytesperline = 1280, 173 .bytesperline = 1280,
195 .sizeimage = 1280 * 1024 * 2, 174 .sizeimage = 1280 * 1024 * 2,
@@ -1034,121 +1013,6 @@ static const u8 mi1320_soc_InitVGA[][4] = {
1034 {0xb3, 0x5c, 0x01, 0xcc}, 1013 {0xb3, 0x5c, 0x01, 0xcc},
1035 {} 1014 {}
1036}; 1015};
1037static const u8 mi1320_soc_InitVGA_JPG[][4] = {
1038 {0xb3, 0x01, 0x01, 0xcc},
1039 {0xb0, 0x03, 0x19, 0xcc},
1040 {0xb0, 0x04, 0x02, 0xcc},
1041 {0x00, 0x00, 0x30, 0xdd},
1042 {0xb3, 0x00, 0x64, 0xcc},
1043 {0xb3, 0x00, 0x67, 0xcc},
1044 {0xb3, 0x05, 0x01, 0xcc},
1045 {0xb3, 0x06, 0x01, 0xcc},
1046 {0xb3, 0x08, 0x01, 0xcc},
1047 {0xb3, 0x09, 0x0c, 0xcc},
1048 {0xb3, 0x34, 0x02, 0xcc},
1049 {0xb3, 0x35, 0xc8, 0xcc},
1050 {0xb3, 0x02, 0x00, 0xcc},
1051 {0xb3, 0x03, 0x0a, 0xcc},
1052 {0xb3, 0x04, 0x05, 0xcc},
1053 {0xb3, 0x20, 0x00, 0xcc},
1054 {0xb3, 0x21, 0x00, 0xcc},
1055 {0xb3, 0x22, 0x01, 0xcc},
1056 {0xb3, 0x23, 0xe0, 0xcc},
1057 {0xb3, 0x14, 0x00, 0xcc},
1058 {0xb3, 0x15, 0x00, 0xcc},
1059 {0xb3, 0x16, 0x02, 0xcc},
1060 {0xb3, 0x17, 0x7f, 0xcc},
1061 {0xb3, 0x00, 0x67, 0xcc},
1062 {0xb8, 0x00, 0x00, 0xcc},
1063 {0xbc, 0x00, 0x71, 0xcc},
1064 {0xbc, 0x01, 0x01, 0xcc},
1065 {0xb3, 0x5c, 0x01, 0xcc},
1066 {0xf0, 0x00, 0x02, 0xbb},
1067 {0x00, 0x00, 0x10, 0xdd},
1068 {0xc8, 0x00, 0x00, 0xbb},
1069 {0x00, 0x00, 0x30, 0xdd},
1070 {0xf0, 0x00, 0x00, 0xbb},
1071 {0x00, 0x00, 0x10, 0xdd},
1072 {0x07, 0x00, 0xe0, 0xbb},
1073 {0x08, 0x00, 0x0b, 0xbb},
1074 {0x21, 0x00, 0x0c, 0xbb},
1075 {0x20, 0x01, 0x03, 0xbb},
1076 {0xb6, 0x00, 0x00, 0xcc},
1077 {0xb6, 0x03, 0x02, 0xcc},
1078 {0xb6, 0x02, 0x80, 0xcc},
1079 {0xb6, 0x05, 0x01, 0xcc},
1080 {0xb6, 0x04, 0xe0, 0xcc},
1081 {0xb6, 0x12, 0xf8, 0xcc},
1082 {0xb6, 0x13, 0x05, 0xcc},
1083 {0xb6, 0x18, 0x02, 0xcc},
1084 {0xb6, 0x17, 0x58, 0xcc},
1085 {0xb6, 0x16, 0x00, 0xcc},
1086 {0xb6, 0x22, 0x12, 0xcc},
1087 {0xb6, 0x23, 0x0b, 0xcc},
1088 {0xbf, 0xc0, 0x39, 0xcc},
1089 {0xbf, 0xc1, 0x04, 0xcc},
1090 {0xbf, 0xcc, 0x00, 0xcc},
1091 {0xb3, 0x01, 0x41, 0xcc},
1092 {0xf0, 0x00, 0x00, 0xbb},
1093 {0x05, 0x01, 0x78, 0xbb},
1094 {0x06, 0x00, 0x11, 0xbb},
1095 {0x07, 0x01, 0x42, 0xbb},
1096 {0x08, 0x00, 0x11, 0xbb},
1097 {0x20, 0x01, 0x03, 0xbb},
1098 {0x21, 0x80, 0x00, 0xbb},
1099 {0x22, 0x0d, 0x0f, 0xbb},
1100 {0x24, 0x80, 0x00, 0xbb},
1101 {0x59, 0x00, 0xff, 0xbb},
1102 {0xf0, 0x00, 0x02, 0xbb},
1103 {0x39, 0x03, 0xca, 0xbb},
1104 {0x3a, 0x06, 0x80, 0xbb},
1105 {0x3b, 0x01, 0x52, 0xbb},
1106 {0x3c, 0x05, 0x40, 0xbb},
1107 {0x57, 0x01, 0x9c, 0xbb},
1108 {0x58, 0x01, 0xee, 0xbb},
1109 {0x59, 0x00, 0xf0, 0xbb},
1110 {0x5a, 0x01, 0x20, 0xbb},
1111 {0x5c, 0x1d, 0x17, 0xbb},
1112 {0x5d, 0x22, 0x1c, 0xbb},
1113 {0x64, 0x1e, 0x1c, 0xbb},
1114 {0x5b, 0x00, 0x00, 0xbb},
1115 {0xf0, 0x00, 0x02, 0xbb},
1116 {0x22, 0xa0, 0x78, 0xbb},
1117 {0x23, 0xa0, 0x78, 0xbb},
1118 {0x24, 0x7f, 0x00, 0xbb},
1119 {0x28, 0xea, 0x02, 0xbb},
1120 {0x29, 0x86, 0x7a, 0xbb},
1121 {0x5e, 0x52, 0x4c, 0xbb},
1122 {0x5f, 0x20, 0x24, 0xbb},
1123 {0x60, 0x00, 0x02, 0xbb},
1124 {0x02, 0x00, 0xee, 0xbb},
1125 {0x03, 0x39, 0x23, 0xbb},
1126 {0x04, 0x07, 0x24, 0xbb},
1127 {0x09, 0x00, 0xc0, 0xbb},
1128 {0x0a, 0x00, 0x79, 0xbb},
1129 {0x0b, 0x00, 0x04, 0xbb},
1130 {0x0c, 0x00, 0x5c, 0xbb},
1131 {0x0d, 0x00, 0xd9, 0xbb},
1132 {0x0e, 0x00, 0x53, 0xbb},
1133 {0x0f, 0x00, 0x21, 0xbb},
1134 {0x10, 0x00, 0xa4, 0xbb},
1135 {0x11, 0x00, 0xe5, 0xbb},
1136 {0x15, 0x00, 0x00, 0xbb},
1137 {0x16, 0x00, 0x00, 0xbb},
1138 {0x17, 0x00, 0x00, 0xbb},
1139 {0x18, 0x00, 0x00, 0xbb},
1140 {0x19, 0x00, 0x00, 0xbb},
1141 {0x1a, 0x00, 0x00, 0xbb},
1142 {0x1b, 0x00, 0x00, 0xbb},
1143 {0x1c, 0x00, 0x00, 0xbb},
1144 {0x1d, 0x00, 0x00, 0xbb},
1145 {0x1e, 0x00, 0x00, 0xbb},
1146 {0xf0, 0x00, 0x01, 0xbb},
1147 {0x06, 0xe0, 0x0e, 0xbb},
1148 {0x06, 0x60, 0x0e, 0xbb},
1149 {0xb3, 0x5c, 0x01, 0xcc},
1150 {}
1151};
1152static const u8 mi1320_soc_InitQVGA[][4] = { 1016static const u8 mi1320_soc_InitQVGA[][4] = {
1153 {0xb3, 0x01, 0x01, 0xcc}, 1017 {0xb3, 0x01, 0x01, 0xcc},
1154 {0xb0, 0x03, 0x19, 0xcc}, 1018 {0xb0, 0x03, 0x19, 0xcc},
@@ -1262,268 +1126,6 @@ static const u8 mi1320_soc_InitQVGA[][4] = {
1262 {0xb3, 0x5c, 0x01, 0xcc}, 1126 {0xb3, 0x5c, 0x01, 0xcc},
1263 {} 1127 {}
1264}; 1128};
1265static const u8 mi1320_soc_InitQVGA_JPG[][4] = {
1266 {0xb3, 0x01, 0x01, 0xcc},
1267 {0xb0, 0x03, 0x19, 0xcc},
1268 {0xb0, 0x04, 0x02, 0xcc},
1269 {0x00, 0x00, 0x30, 0xdd},
1270 {0xb3, 0x00, 0x64, 0xcc},
1271 {0xb3, 0x00, 0x67, 0xcc},
1272 {0xb3, 0x05, 0x01, 0xcc},
1273 {0xb3, 0x06, 0x01, 0xcc},
1274 {0xb3, 0x08, 0x01, 0xcc},
1275 {0xb3, 0x09, 0x0c, 0xcc},
1276 {0xb3, 0x34, 0x02, 0xcc},
1277 {0xb3, 0x35, 0xc8, 0xcc},
1278 {0xb3, 0x02, 0x00, 0xcc},
1279 {0xb3, 0x03, 0x0a, 0xcc},
1280 {0xb3, 0x04, 0x05, 0xcc},
1281 {0xb3, 0x20, 0x00, 0xcc},
1282 {0xb3, 0x21, 0x00, 0xcc},
1283 {0xb3, 0x22, 0x01, 0xcc},
1284 {0xb3, 0x23, 0xe0, 0xcc},
1285 {0xb3, 0x14, 0x00, 0xcc},
1286 {0xb3, 0x15, 0x00, 0xcc},
1287 {0xb3, 0x16, 0x02, 0xcc},
1288 {0xb3, 0x17, 0x7f, 0xcc},
1289 {0xb3, 0x00, 0x67, 0xcc},
1290 {0xb8, 0x00, 0x00, 0xcc},
1291 {0xbc, 0x00, 0xd1, 0xcc},
1292 {0xbc, 0x01, 0x01, 0xcc},
1293 {0xb3, 0x5c, 0x01, 0xcc},
1294 {0xf0, 0x00, 0x02, 0xbb},
1295 {0x00, 0x00, 0x10, 0xdd},
1296 {0xc8, 0x00, 0x00, 0xbb},
1297 {0x00, 0x00, 0x30, 0xdd},
1298 {0xf0, 0x00, 0x00, 0xbb},
1299 {0x00, 0x00, 0x10, 0xdd},
1300 {0x07, 0x00, 0xe0, 0xbb},
1301 {0x08, 0x00, 0x0b, 0xbb},
1302 {0x21, 0x00, 0x0c, 0xbb},
1303 {0x20, 0x01, 0x03, 0xbb},
1304 {0xb6, 0x00, 0x00, 0xcc},
1305 {0xb6, 0x03, 0x01, 0xcc},
1306 {0xb6, 0x02, 0x40, 0xcc},
1307 {0xb6, 0x05, 0x00, 0xcc},
1308 {0xb6, 0x04, 0xf0, 0xcc},
1309 {0xb6, 0x12, 0xf8, 0xcc},
1310 {0xb6, 0x13, 0x05, 0xcc},
1311 {0xb6, 0x18, 0x00, 0xcc},
1312 {0xb6, 0x17, 0x96, 0xcc},
1313 {0xb6, 0x16, 0x00, 0xcc},
1314 {0xb6, 0x22, 0x12, 0xcc},
1315 {0xb6, 0x23, 0x0b, 0xcc},
1316 {0xbf, 0xc0, 0x39, 0xcc},
1317 {0xbf, 0xc1, 0x04, 0xcc},
1318 {0xbf, 0xcc, 0x00, 0xcc},
1319 {0xbc, 0x02, 0x18, 0xcc},
1320 {0xbc, 0x03, 0x50, 0xcc},
1321 {0xbc, 0x04, 0x18, 0xcc},
1322 {0xbc, 0x05, 0x00, 0xcc},
1323 {0xbc, 0x06, 0x00, 0xcc},
1324 {0xbc, 0x08, 0x30, 0xcc},
1325 {0xbc, 0x09, 0x40, 0xcc},
1326 {0xbc, 0x0a, 0x10, 0xcc},
1327 {0xbc, 0x0b, 0x00, 0xcc},
1328 {0xbc, 0x0c, 0x00, 0xcc},
1329 {0xb3, 0x01, 0x41, 0xcc},
1330 {0xf0, 0x00, 0x00, 0xbb},
1331 {0x05, 0x01, 0x78, 0xbb},
1332 {0x06, 0x00, 0x11, 0xbb},
1333 {0x07, 0x01, 0x42, 0xbb},
1334 {0x08, 0x00, 0x11, 0xbb},
1335 {0x20, 0x01, 0x03, 0xbb},
1336 {0x21, 0x80, 0x00, 0xbb},
1337 {0x22, 0x0d, 0x0f, 0xbb},
1338 {0x24, 0x80, 0x00, 0xbb},
1339 {0x59, 0x00, 0xff, 0xbb},
1340 {0xf0, 0x00, 0x02, 0xbb},
1341 {0x39, 0x03, 0xca, 0xbb},
1342 {0x3a, 0x06, 0x80, 0xbb},
1343 {0x3b, 0x01, 0x52, 0xbb},
1344 {0x3c, 0x05, 0x40, 0xbb},
1345 {0x57, 0x01, 0x9c, 0xbb},
1346 {0x58, 0x01, 0xee, 0xbb},
1347 {0x59, 0x00, 0xf0, 0xbb},
1348 {0x5a, 0x01, 0x20, 0xbb},
1349 {0x5c, 0x1d, 0x17, 0xbb},
1350 {0x5d, 0x22, 0x1c, 0xbb},
1351 {0x64, 0x1e, 0x1c, 0xbb},
1352 {0x5b, 0x00, 0x00, 0xbb},
1353 {0xf0, 0x00, 0x02, 0xbb},
1354 {0x22, 0xa0, 0x78, 0xbb},
1355 {0x23, 0xa0, 0x78, 0xbb},
1356 {0x24, 0x7f, 0x00, 0xbb},
1357 {0x28, 0xea, 0x02, 0xbb},
1358 {0x29, 0x86, 0x7a, 0xbb},
1359 {0x5e, 0x52, 0x4c, 0xbb},
1360 {0x5f, 0x20, 0x24, 0xbb},
1361 {0x60, 0x00, 0x02, 0xbb},
1362 {0x02, 0x00, 0xee, 0xbb},
1363 {0x03, 0x39, 0x23, 0xbb},
1364 {0x04, 0x07, 0x24, 0xbb},
1365 {0x09, 0x00, 0xc0, 0xbb},
1366 {0x0a, 0x00, 0x79, 0xbb},
1367 {0x0b, 0x00, 0x04, 0xbb},
1368 {0x0c, 0x00, 0x5c, 0xbb},
1369 {0x0d, 0x00, 0xd9, 0xbb},
1370 {0x0e, 0x00, 0x53, 0xbb},
1371 {0x0f, 0x00, 0x21, 0xbb},
1372 {0x10, 0x00, 0xa4, 0xbb},
1373 {0x11, 0x00, 0xe5, 0xbb},
1374 {0x15, 0x00, 0x00, 0xbb},
1375 {0x16, 0x00, 0x00, 0xbb},
1376 {0x17, 0x00, 0x00, 0xbb},
1377 {0x18, 0x00, 0x00, 0xbb},
1378 {0x19, 0x00, 0x00, 0xbb},
1379 {0x1a, 0x00, 0x00, 0xbb},
1380 {0x1b, 0x00, 0x00, 0xbb},
1381 {0x1c, 0x00, 0x00, 0xbb},
1382 {0x1d, 0x00, 0x00, 0xbb},
1383 {0x1e, 0x00, 0x00, 0xbb},
1384 {0xf0, 0x00, 0x01, 0xbb},
1385 {0x06, 0xe0, 0x0e, 0xbb},
1386 {0x06, 0x60, 0x0e, 0xbb},
1387 {0xb3, 0x5c, 0x01, 0xcc},
1388 {}
1389};
1390static const u8 mi1320_soc_InitSXGA_JPG[][4] = {
1391 {0xb3, 0x01, 0x01, 0xcc},
1392 {0xb0, 0x03, 0x19, 0xcc},
1393 {0xb0, 0x04, 0x02, 0xcc},
1394 {0x00, 0x00, 0x33, 0xdd},
1395 {0xb3, 0x00, 0x64, 0xcc},
1396 {0xb3, 0x00, 0x67, 0xcc},
1397 {0xb3, 0x05, 0x00, 0xcc},
1398 {0xb3, 0x06, 0x00, 0xcc},
1399 {0xb3, 0x08, 0x01, 0xcc},
1400 {0xb3, 0x09, 0x0c, 0xcc},
1401 {0xb3, 0x34, 0x02, 0xcc},
1402 {0xb3, 0x35, 0xc8, 0xcc},
1403 {0xb3, 0x02, 0x00, 0xcc},
1404 {0xb3, 0x03, 0x0a, 0xcc},
1405 {0xb3, 0x04, 0x05, 0xcc},
1406 {0xb3, 0x20, 0x00, 0xcc},
1407 {0xb3, 0x21, 0x00, 0xcc},
1408 {0xb3, 0x22, 0x04, 0xcc},
1409 {0xb3, 0x23, 0x00, 0xcc},
1410 {0xb3, 0x14, 0x00, 0xcc},
1411 {0xb3, 0x15, 0x00, 0xcc},
1412 {0xb3, 0x16, 0x04, 0xcc},
1413 {0xb3, 0x17, 0xff, 0xcc},
1414 {0xb3, 0x00, 0x67, 0xcc},
1415 {0xbc, 0x00, 0x71, 0xcc},
1416 {0xbc, 0x01, 0x01, 0xcc},
1417 {0xf0, 0x00, 0x02, 0xbb},
1418 {0x00, 0x00, 0x30, 0xdd},
1419 {0xc8, 0x9f, 0x0b, 0xbb},
1420 {0x00, 0x00, 0x20, 0xdd},
1421 {0x5b, 0x00, 0x01, 0xbb},
1422 {0x00, 0x00, 0x20, 0xdd},
1423 {0xf0, 0x00, 0x00, 0xbb},
1424 {0x00, 0x00, 0x30, 0xdd},
1425 {0x20, 0x01, 0x03, 0xbb},
1426 {0x00, 0x00, 0x20, 0xdd},
1427 {0xb6, 0x00, 0x00, 0xcc},
1428 {0xb6, 0x03, 0x05, 0xcc},
1429 {0xb6, 0x02, 0x00, 0xcc},
1430 {0xb6, 0x05, 0x04, 0xcc},
1431 {0xb6, 0x04, 0x00, 0xcc},
1432 {0xb6, 0x12, 0xf8, 0xcc},
1433 {0xb6, 0x13, 0x29, 0xcc},
1434 {0xb6, 0x18, 0x0a, 0xcc},
1435 {0xb6, 0x17, 0x00, 0xcc},
1436 {0xb6, 0x16, 0x00, 0xcc},
1437 {0xb6, 0x22, 0x12, 0xcc},
1438 {0xb6, 0x23, 0x0b, 0xcc},
1439 {0xbf, 0xc0, 0x39, 0xcc},
1440 {0xbf, 0xc1, 0x04, 0xcc},
1441 {0xbf, 0xcc, 0x00, 0xcc},
1442 {0xb3, 0x5c, 0x01, 0xcc},
1443 {0xb3, 0x01, 0x41, 0xcc},
1444 {0xf0, 0x00, 0x00, 0xbb},
1445 {0x05, 0x01, 0x78, 0xbb},
1446 {0x06, 0x00, 0x11, 0xbb},
1447 {0x07, 0x01, 0x42, 0xbb},
1448 {0x08, 0x00, 0x11, 0xbb},
1449 {0x20, 0x01, 0x03, 0xbb},
1450 {0x21, 0x80, 0x00, 0xbb},
1451 {0x22, 0x0d, 0x0f, 0xbb},
1452 {0x24, 0x80, 0x00, 0xbb},
1453 {0x59, 0x00, 0xff, 0xbb},
1454 {0xf0, 0x00, 0x02, 0xbb},
1455 {0x39, 0x03, 0xca, 0xbb},
1456 {0x3a, 0x06, 0x80, 0xbb},
1457 {0x3b, 0x01, 0x52, 0xbb},
1458 {0x3c, 0x05, 0x40, 0xbb},
1459 {0x57, 0x01, 0x9c, 0xbb},
1460 {0x58, 0x01, 0xee, 0xbb},
1461 {0x59, 0x00, 0xf0, 0xbb},
1462 {0x5a, 0x01, 0x20, 0xbb},
1463 {0x5c, 0x1d, 0x17, 0xbb},
1464 {0x5d, 0x22, 0x1c, 0xbb},
1465 {0x64, 0x1e, 0x1c, 0xbb},
1466 {0x5b, 0x00, 0x00, 0xbb},
1467 {0xf0, 0x00, 0x02, 0xbb},
1468 {0x22, 0xa0, 0x78, 0xbb},
1469 {0x23, 0xa0, 0x78, 0xbb},
1470 {0x24, 0x7f, 0x00, 0xbb},
1471 {0x28, 0xea, 0x02, 0xbb},
1472 {0x29, 0x86, 0x7a, 0xbb},
1473 {0x5e, 0x52, 0x4c, 0xbb},
1474 {0x5f, 0x20, 0x24, 0xbb},
1475 {0x60, 0x00, 0x02, 0xbb},
1476 {0x02, 0x00, 0xee, 0xbb},
1477 {0x03, 0x39, 0x23, 0xbb},
1478 {0x04, 0x07, 0x24, 0xbb},
1479 {0x09, 0x00, 0xc0, 0xbb},
1480 {0x0a, 0x00, 0x79, 0xbb},
1481 {0x0b, 0x00, 0x04, 0xbb},
1482 {0x0c, 0x00, 0x5c, 0xbb},
1483 {0x0d, 0x00, 0xd9, 0xbb},
1484 {0x0e, 0x00, 0x53, 0xbb},
1485 {0x0f, 0x00, 0x21, 0xbb},
1486 {0x10, 0x00, 0xa4, 0xbb},
1487 {0x11, 0x00, 0xe5, 0xbb},
1488 {0x15, 0x00, 0x00, 0xbb},
1489 {0x16, 0x00, 0x00, 0xbb},
1490 {0x17, 0x00, 0x00, 0xbb},
1491 {0x18, 0x00, 0x00, 0xbb},
1492 {0x19, 0x00, 0x00, 0xbb},
1493 {0x1a, 0x00, 0x00, 0xbb},
1494 {0x1b, 0x00, 0x00, 0xbb},
1495 {0x1c, 0x00, 0x00, 0xbb},
1496 {0x1d, 0x00, 0x00, 0xbb},
1497 {0x1e, 0x00, 0x00, 0xbb},
1498 {0xf0, 0x00, 0x01, 0xbb},
1499 {0x06, 0xe0, 0x0e, 0xbb},
1500 {0x06, 0x60, 0x0e, 0xbb},
1501 {0xb3, 0x5c, 0x01, 0xcc},
1502 {0xf0, 0x00, 0x00, 0xbb},
1503 {0x05, 0x01, 0x13, 0xbb},
1504 {0x06, 0x00, 0x11, 0xbb},
1505 {0x07, 0x00, 0x85, 0xbb},
1506 {0x08, 0x00, 0x27, 0xbb},
1507 {0x20, 0x01, 0x03, 0xbb},
1508 {0x21, 0x80, 0x00, 0xbb},
1509 {0x22, 0x0d, 0x0f, 0xbb},
1510 {0x24, 0x80, 0x00, 0xbb},
1511 {0x59, 0x00, 0xff, 0xbb},
1512 {0xf0, 0x00, 0x02, 0xbb},
1513 {0x39, 0x03, 0x0d, 0xbb},
1514 {0x3a, 0x06, 0x1b, 0xbb},
1515 {0x3b, 0x00, 0x95, 0xbb},
1516 {0x3c, 0x04, 0xdb, 0xbb},
1517 {0x57, 0x02, 0x00, 0xbb},
1518 {0x58, 0x02, 0x66, 0xbb},
1519 {0x59, 0x00, 0xff, 0xbb},
1520 {0x5a, 0x01, 0x33, 0xbb},
1521 {0x5c, 0x12, 0x0d, 0xbb},
1522 {0x5d, 0x16, 0x11, 0xbb},
1523 {0x64, 0x5e, 0x1c, 0xbb},
1524 {0x2f, 0x90, 0x00, 0xbb},
1525 {}
1526};
1527static const u8 mi1320_soc_InitSXGA[][4] = { 1129static const u8 mi1320_soc_InitSXGA[][4] = {
1528 {0xb3, 0x01, 0x01, 0xcc}, 1130 {0xb3, 0x01, 0x01, 0xcc},
1529 {0xb0, 0x03, 0x19, 0xcc}, 1131 {0xb0, 0x03, 0x19, 0xcc},
@@ -3015,11 +2617,8 @@ static int sd_start(struct gspca_dev *gspca_dev)
3015 int mode; 2617 int mode;
3016 static const u8 (*mi1320_soc_init[])[4] = { 2618 static const u8 (*mi1320_soc_init[])[4] = {
3017 mi1320_soc_InitSXGA, 2619 mi1320_soc_InitSXGA,
3018 mi1320_soc_InitSXGA_JPG,
3019 mi1320_soc_InitVGA, 2620 mi1320_soc_InitVGA,
3020 mi1320_soc_InitVGA_JPG,
3021 mi1320_soc_InitQVGA, 2621 mi1320_soc_InitQVGA,
3022 mi1320_soc_InitQVGA_JPG
3023 }; 2622 };
3024 2623
3025 /* Assume start use the good resolution from gspca_dev->mode */ 2624 /* Assume start use the good resolution from gspca_dev->mode */