V4L/DVB (10629): tvp514x: try_count reaches 0, not -1
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 9 Feb 2009 21:57:06 +0000 (18:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:48 +0000 (12:42 -0300)
commit320a46485c83e70e374afa8bdfe8cd39a801cd5d
treed5e13022fff40a10de261585995f7ebad52083b7
parente23b290716ad9355d9f17b569c8c9e659ff68aa7
V4L/DVB (10629): tvp514x: try_count reaches 0, not -1

with while (try_count-- > 0) { ... } try_count reaches 0, not -1.

Cc: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tvp514x.c