diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-25 16:28:23 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-05 10:05:10 -0300 |
commit | c285addb3991c9b73b8d1a2b652ce0f1f67e90e1 (patch) | |
tree | 74e5e974f180bd63145ce3f4020c7f85bd254bbb /drivers/leds | |
parent | 8e4a718ff38d8539938ec3421935904c27e00c39 (diff) |
V4L/DVB (12134): vivi: bug: don't assume that S_STD will be called before streaming
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 'drivers/leds')
0 files changed, 0 insertions, 0 deletions