1
linux/drivers/media/video/s5p-fimc
Sylwester Nawrocki 2c1bb62e21 [media] s5p-fimc: Fix buffer dequeue order issue
When requested more than 2 buffers the buffer dequeue order was wrong
due to erroneous updating FIMC registers in every interrupt handler
call. This also fixes regression of resetting the output DMA buffer
pointer at wrong time, when some buffers are already queued in hardware.
The hardware is reset in the start_streaming callback in order to align
the H/W state with the software output buffer pointer (buf_index).

Additionally a simple write to S5P_CISCCTRL register is replaced with
a read/modification/write to make sure the scaler is not being disabled
in fimc_hw_set_scaler().

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-11-24 21:02:10 -02:00
..
fimc-capture.c [media] s5p-fimc: Fix buffer dequeue order issue 2011-11-24 21:02:10 -02:00
fimc-core.c [media] s5p-fimc: Fix buffer dequeue order issue 2011-11-24 21:02:10 -02:00
fimc-core.h [media] s5p-fimc: Add runtime PM support in the camera capture driver 2011-09-06 17:50:31 -03:00
fimc-mdevice.c [media] s5p-fimc: Fix wrong pointer dereference when unregistering sensors 2011-11-24 20:57:12 -02:00
fimc-mdevice.h [media] s5p-fimc: Add the media device driver 2011-09-06 17:35:52 -03:00
fimc-reg.c [media] s5p-fimc: Fix buffer dequeue order issue 2011-11-24 21:02:10 -02:00
Makefile [media] s5p-fimc: Add the media device driver 2011-09-06 17:35:52 -03:00
mipi-csis.c [media] s5p-csis: Rework the system suspend/resume helpers 2011-09-06 15:09:37 -03:00
mipi-csis.h [media] v4l: Add v4l2 subdev driver for S5P/EXYNOS4 MIPI-CSI receivers 2011-05-20 11:32:43 -03:00
regs-fimc.h [media] s5p-fimc: Convert to use generic media bus polarity flags 2011-09-24 00:22:31 -03:00