diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-03-31 08:44:22 +0200 |
---|---|---|
committer | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-03-31 08:44:22 +0200 |
commit | 0cd492de264ff13ccca9ebe6722775938c387392 (patch) | |
tree | fcb4eaef7f2ccb69e13a4dab341ee5f7b07853ec /linux/drivers | |
parent | 894ef336d9eaaf5528b4e796e4d2c86b45c59b9b (diff) | |
download | mediapointer-dvb-s2-0cd492de264ff13ccca9ebe6722775938c387392.tar.gz mediapointer-dvb-s2-0cd492de264ff13ccca9ebe6722775938c387392.tar.bz2 |
mt9m001: fix advertised pixel clock polarity
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
MT9M001 datasheet says, that the data is ready on the falling edge of the pixel
clock, but the driver wrongly sets the SOCAM_PCLK_SAMPLE_RISING flag. Changing
this doesn't seem to produce any visible difference, still, it is better to
comply to the datasheet.
Reported-by: Sascha Oppermann <oppermann@garage-computers.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
---
drivers/media/video/mt9m001.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/mt9m001.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/mt9m001.c b/linux/drivers/media/video/mt9m001.c index e3dab2119..83f3cae47 100644 --- a/linux/drivers/media/video/mt9m001.c +++ b/linux/drivers/media/video/mt9m001.c @@ -207,7 +207,7 @@ static unsigned long mt9m001_query_bus_param(struct soc_camera_device *icd) struct mt9m001 *mt9m001 = container_of(icd, struct mt9m001, icd); struct soc_camera_link *icl = mt9m001->client->dev.platform_data; /* MT9M001 has all capture_format parameters fixed */ - unsigned long flags = SOCAM_PCLK_SAMPLE_RISING | + unsigned long flags = SOCAM_PCLK_SAMPLE_FALLING | SOCAM_HSYNC_ACTIVE_HIGH | SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_DATA_ACTIVE_HIGH | SOCAM_MASTER; |