From: Guennadi Liakhovetski Date: Thu, 18 Dec 2008 14:38:03 +0000 (-0300) Subject: V4L/DVB (10075): pxa-camera: setup the FIFO inactivity time-out register X-Git-Tag: v2.6.29-rc1~556^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf34cba78d0e0a7244bd7f11addb4d971293fb30;p=pandora-kernel.git V4L/DVB (10075): pxa-camera: setup the FIFO inactivity time-out register 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. Tested-by: Robert Jarzmik Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed