[PATCH] mt9v022: fix pixel clock

2011-04-14 Thread Teresa Gámez
The setup of the pixel clock is done wrong in the mt9v022 driver. The 'Invert Pixel Clock' bit has to be set to 1 for falling edge and not for rising. This is not clearly described in the data sheet. Tested on pcm037 and pcm027/pcm990. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- drivers

[PATCH 2/2] mt9m111: fix pixel clock

2011-04-06 Thread Teresa Gámez
This camera driver supports only rising edge, which is the default setting of the device. The function mt9m111_setup_pixfmt() overwrites this setting. So the driver actually uses falling edge. This patch corrects that. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- drivers/media/video/mt9m111