[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, 27 Jul 2011 20:52:18 +0000 (17:52 -0300)
commit061d55eb450102408289599ae79b92322d6126e1
treec31b0088a8576de0e6eed098176dc81a7a079432
parent050bf0faa833028f30ed3ad6a8fc5e51994dabfe
[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