summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videobuf-core.c
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2011-10-05 14:20:45 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-24 21:02:10 -0200
commit2c1bb62e217f4f2eb6fa9734dcb331bc09c7768e (patch)
treed96633c2df45d6bb4906f1d6fa598adb078657b6 /drivers/media/video/videobuf-core.c
parent7aa9f1844a3aac428ef7977a9f1da706718afe0d (diff)
downloadlinux-2c1bb62e217f4f2eb6fa9734dcb331bc09c7768e.tar.gz
linux-2c1bb62e217f4f2eb6fa9734dcb331bc09c7768e.tar.bz2
linux-2c1bb62e217f4f2eb6fa9734dcb331bc09c7768e.zip
[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>
Diffstat (limited to 'drivers/media/video/videobuf-core.c')
0 files changed, 0 insertions, 0 deletions