]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (7197): bttv: Fix overlay divide error
authorRobert Fitzsimons <robfitz@273k.net>
Wed, 13 Feb 2008 19:38:11 +0000 (16:38 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 18 Feb 2008 15:18:03 +0000 (12:18 -0300)
commitdb9d72b85ffac536f77cc75e8840796de30e6625
tree2269f886d6f584a6a4fcfb5253ef3e77b63a45c2
parent943a42dfdfc0ecff6327f253f5be44109b5eda32
V4L/DVB (7197): bttv: Fix overlay divide error

The initial work to convert the bttv driver to V4L2 "Partial conversion
from V4L1 to V4L2" (d4788a73b3b896b1e27763d69658d9de6dbe5792), missed
the line which set the appropriate overlay crop structure in the newly
allocated bttv_buffer.  This then causes a divide error in the
bttv_calc_geo function.

Signed-off-by: Robert Fitzsimons <robfitz@273k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/bt8xx/bttv-driver.c