]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (8479): tveeprom/ivtv: fix usage of has_ir field
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 22 Jul 2008 18:50:31 +0000 (15:50 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 26 Jul 2008 15:54:42 +0000 (12:54 -0300)
commitb654fcdc0ea3b6e5724c9873ae062bdfe7f28efe
treea7cd44165baef31933053345a18279a4f66817e0
parent38f9d308597fe3f8d52bfa30e7ed6c742b85a1db
V4L/DVB (8479): tveeprom/ivtv: fix usage of has_ir field

has_ir was set to and compared to -1 in several cases, even though it is
an u32. ivtv also contained a FIXME for an old kernel that could be
removed.

Thanks to Roel Kluin for creating an initial patch for this. Although
I chose a different solution here it did help in pointing out the problem.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-driver.c
drivers/media/video/tveeprom.c
include/media/tveeprom.h