V4L/DVB (11961): tvp514x: try_count off by one
commit76b08116458c4dbc1e1c40f78bc087fc4f3c8969
authorRoel Kluin <roel.kluin@gmail.com>
Thu, 11 Jun 2009 14:28:17 +0000 (11 11:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 22:07:39 +0000 (16 19:07 -0300)
tree3848d794b5965e41d4f8f8e923b5a628b6caa3b8
parentbcd3e4b3190f0cc4e0702785220f0269f8537175
V4L/DVB (11961): tvp514x: try_count off by one

With `while (try_count-- > 0)' try_count reaches -1 after the loop.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tvp514x.c