summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/ovcamchip/ov6x30.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-06-25 16:28:23 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-25 16:28:23 -0300
commitbb4a3773913e20573cc6c6c22db484453612ffe6 (patch)
tree37ca6d6afa96c6f331394a79571907a74148f0ff /linux/drivers/media/video/ovcamchip/ov6x30.c
parentd082b862b623972e2115326f76612aa40b35c588 (diff)
downloadmediapointer-dvb-s2-bb4a3773913e20573cc6c6c22db484453612ffe6.tar.gz
mediapointer-dvb-s2-bb4a3773913e20573cc6c6c22db484453612ffe6.tar.bz2
vivi: bug: don't assume that S_STD will be called before streaming
From: Mauro Carvalho Chehab <mchehab@redhat.com> precalculate_bars() improved vivi performance. However, it assumed that always before streaming, the driver would call VIDIOC_S_STD. This is not an API requirement, and the testing apps don't do that. Due to that, a regression were caused by the patch that added it. This patch moves the precalculate_bars to the proper place of the code, calling it at buffer_prepare() callback. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/ovcamchip/ov6x30.c')
0 files changed, 0 insertions, 0 deletions