Be careful when Android up merge

Every year, we would face the work to up merge for Android's new version. 

We usually use the copy and paste function to merge some code.

it would cause us big issue.

 1 For the driver code. you must pay attention to the clk0/clk1 ,such as  for camera 's clk1 = front camera and clk0 =back camera. 

   because of the android 's new version , the platform have modified the camera driver's code. when we use the copy and paste. we can make the front camera work, but the back camera , can not work, it mess us for 2 days to find the clk1, it should be clk0 for back camera.


PS: for camera driver: we need do as following orderly.

1  power up sequence 

2 platform's  clk configure.

3  the init code sequence.

4 some times's i2c can cause some problem.


    

     

你可能感兴趣的:(Be careful when Android up merge)