V4L/DVB: gspca - sn9c20x: HAS_BUTTON flag -> HAS_NO_BUTTON flag
authorBrian Johnson <brijohn@gmail.com>
Mon, 19 Apr 2010 00:42:40 +0000 (21:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:59:00 +0000 (12:59 -0300)
commit33ddc16f1003fc13d57ebe5061b29e16e6f84848
treec892df38e7f581365932051a3281f03311a61e93
parent5d26ed9102404dec1b9ae3ea3ad3832fe6330f0f
V4L/DVB: gspca - sn9c20x: HAS_BUTTON flag -> HAS_NO_BUTTON flag

Reverse HAS_BUTTON logic since most webcams either have a button or if
they don't don't bother to send any interrupts. However I have at least
one model that appears to leave the button GPIO floating and can send
a bogus interrupt.

Signed-off-by: Brian Johnson <brijohn@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sn9c20x.c