]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] saa7164: poll mask set incorrectly
authorDan Carpenter <error27@gmail.com>
Wed, 24 Nov 2010 05:36:57 +0000 (02:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 1 Jun 2011 14:28:57 +0000 (11:28 -0300)
commit868fe0b739ba202c0eb8c8126a9972d89a10c971
tree232146d3abbd8f7839198ddd58a7a2ae688029da
parent6f2bdf31717f25f980e90a7ea89ca79a730e06f9
[media] saa7164: poll mask set incorrectly

list_first_entry() always returns non-null here.  I think the intent was
to test whether there were any entries in the used list.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa7164/saa7164-encoder.c
drivers/media/video/saa7164/saa7164-vbi.c