[media] go7007: fix broken test
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 22 Oct 2015 08:56:21 +0000 (06:56 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 17 Nov 2015 16:33:41 +0000 (14:33 -0200)
commitba463988a00520d0019cfc70f42ecfe122e9fefd
treea648fd48f1e430e3af50e33d984167d12bd34dea
parentf18e16239f6bfcecf475aba0967a2cf039f6b5fe
[media] go7007: fix broken test

The wrong flags field was tested for the GO7007_BOARD_HAS_AUDIO flag: that
flag is in board->main_info.flags, not in board->flags.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/go7007/go7007-usb.c