]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
[media] tm6000: Fix check for interrupt endpoint
authorThierry Reding <thierry.reding@avionic-design.de>
Tue, 6 Dec 2011 12:39:35 +0000 (09:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 11 Dec 2011 12:47:37 +0000 (10:47 -0200)
commit4be9c8fb58e48cd0110bd9504b0af1e18fa54467
tree9a9265014378e77e9802398be24d2e5a499f4181
parent875f0e3da1e88f166940cbb5e530b05eb64ccc1f
[media] tm6000: Fix check for interrupt endpoint

Checking for &dev->int_in is useless because it returns the address of
the embedded struct tm6000_endpoint, which will always be positive and
therefore true.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tm6000/tm6000-input.c
drivers/media/video/tm6000/tm6000-video.c