]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit700de112548a7b0d0a9a830e65493a3f60b6ff5c
treea648fd48f1e430e3af50e33d984167d12bd34dea
parent1997d72bcdc8f684cab3aa8c76f4adef2e44a5a6
[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