diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2008-12-18 15:38:03 +0100 |
---|---|---|
committer | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2008-12-18 15:38:03 +0100 |
commit | 52a0d0b3f7626ad29694d3b2a05d4c339b093d5d (patch) | |
tree | 14db767c9c5c886488b417f90dcef65f5bb1a16b /linux/include/asm-arm | |
parent | 0f0829dfa93f384ef8f33ecdcd0bd0d0d3335177 (diff) | |
download | mediapointer-dvb-s2-52a0d0b3f7626ad29694d3b2a05d4c339b093d5d.tar.gz mediapointer-dvb-s2-52a0d0b3f7626ad29694d3b2a05d4c339b093d5d.tar.bz2 |
pxa-camera: setup the FIFO inactivity time-out register
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Using PXA270's FIFO inactivity time-out register (CITOR) reduces FIFO overruns.
The time-out is calculated in CICLK / LCDCLK ticks and has to be longer than
one pixel time. For this we have to know the pixel clock frequency, which
usually is provided by the camera. We use the struct soc_camera_sense to
request PCLK frequency from the camera driver upon each data format change.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
---
drivers/media/video/pxa_camera.c | 90 +++++++++++++++++++++++++++++---------
1 files changed, 69 insertions(+), 21 deletions(-)
Diffstat (limited to 'linux/include/asm-arm')
0 files changed, 0 insertions, 0 deletions