summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-30 10:53:04 (GMT)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-30 11:23:57 (GMT)
commit5d1f00a20d2d56ed480e64e938a2391353ee565b (patch)
tree7ba4a7e756239a0008d9fb06180220cf223673e1 /drivers/media
parent0d1165fcafaf42b153857ba6e21200fdd8c9543a (diff)
downloadlinux-5d1f00a20d2d56ed480e64e938a2391353ee565b.tar.xz
[media] sound: simplify au0828 quirk table
Add a macro to simplify au0828 quirk table. That makes easier to check it against the USB IDs at drivers/media/usb/au0828/au0828-cards.c. Cc: stable@vger.kernel.org Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/usb/au0828/au0828-cards.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/usb/au0828/au0828-cards.c b/drivers/media/usb/au0828/au0828-cards.c
index 9eb77ac..da87f1c 100644
--- a/drivers/media/usb/au0828/au0828-cards.c
+++ b/drivers/media/usb/au0828/au0828-cards.c
@@ -36,6 +36,11 @@ static void hvr950q_cs5340_audio(void *priv, int enable)
au0828_clear(dev, REG_000, 0x10);
}
+/*
+ * WARNING: There's a quirks table at sound/usb/quirks-table.h
+ * that should also be updated every time a new device with V4L2 support
+ * is added here.
+ */
struct au0828_board au0828_boards[] = {
[AU0828_BOARD_UNKNOWN] = {
.name = "Unknown board",