From: zyc Date: Mon, 5 Nov 2012 09:03:56 +0000 (+0800) Subject: camera :invalidate useless series of sp0838 and sp2518 X-Git-Tag: firefly_0821_release~8269^2~7 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=489da016d415b4c1e35b2ee6a61723f0bbfec891;p=firefly-linux-kernel-4.4.55.git camera :invalidate useless series of sp0838 and sp2518 --- diff --git a/drivers/media/video/sp0838.c b/drivers/media/video/sp0838.c index a828c2e527df..faf59cb4cb08 100755 --- a/drivers/media/video/sp0838.c +++ b/drivers/media/video/sp0838.c @@ -189,13 +189,13 @@ static struct reginfo sensor_init_data[] = {0x6f , 0x7f}, {0x70 , 0x01}, - {0x71 , 0x09}, //ï�����ֵ - {0x72 , 0x01}, //�ï½ï¿½ï¿½ï¿½ï¿½Ö? + {0x71 , 0x09}, //?�����ֵ + {0x72 , 0x01}, //�??����?? {0x73 , 0x03}, //? //0x05 //modify by sp_yjp,20120613 - {0x74 , 0x43}, //ï¿//0x47? //modify by sp_yjp,20120613 + {0x74 , 0x43}, //??//0x47? //modify by sp_yjp,20120613 - {0x75 , 0x7f}, //ʹÿ¿½ÿ¿½Î» + {0x75 , 0x7f}, //ʹ??????λ {0x76 , 0x01}, //Sharpness debug end {0xcb , 0x07}, //HEQ&Saturation debug start {0xcc , 0x04}, @@ -427,13 +427,13 @@ static struct reginfo sensor_init_data[] = /* 1280X1024 SXGA */ static struct reginfo sensor_sxga[] = { - {0xfd, 0x00},{0xff,0xff} + {0x00, 0x00}//,{0xff,0xff} }; /* 800X600 SVGA*/ static struct reginfo sensor_svga[] = { - {0xfd, 0x00},{0xff,0xff} + {0x00, 0x00}//,{0xff,0xff} }; /* 640X480 VGA */ @@ -454,19 +454,19 @@ static struct reginfo sensor_vga[] = /* 352X288 CIF */ static struct reginfo sensor_cif[] = { - {0xfd, 0x00},{0xff,0xff} + {0x00, 0x00}//,{0xff,0xff} }; /* 320*240 QVGA */ static struct reginfo sensor_qvga[] = { - {0xfd, 0x00},{0xff,0xff} + {0x00, 0x00}//,{0xff,0xff} }; /* 176X144 QCIF*/ static struct reginfo sensor_qcif[] = { - {0xfd, 0x00},{0xff,0xff} + {0x00, 0x00}//,{0xff,0xff} }; static struct reginfo sensor_ClrFmt_YUYV[]= diff --git a/drivers/media/video/sp2518.c b/drivers/media/video/sp2518.c index 1c4e17a2826b..21ca5ccecf87 100755 --- a/drivers/media/video/sp2518.c +++ b/drivers/media/video/sp2518.c @@ -779,8 +779,8 @@ static struct reginfo sensor_vga[] = /* 352X288 CIF */ static struct reginfo sensor_cif[] = { - {0xfd, 0x00}, - {0xff,0xff} + {0x00, 0x00}, + //{0xff,0xff} }; /* 320*240 QVGA */ @@ -818,7 +818,7 @@ static struct reginfo sensor_qvga[] = /* 176X144 QCIF*/ static struct reginfo sensor_qcif[] = { - {0xfd, 0x00},{0xff,0xff} + {0x00, 0x00}//,{0xff,0xff} }; static struct reginfo sensor_ClrFmt_YUYV[]=