[media] cx231xx: Use parameters to describe some board variants
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 1 Feb 2011 01:12:15 +0000 (22:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:31:59 +0000 (20:31 -0300)
commit2f86138706d3b5c85a69e72ca2959717372386dd
treedf6e5b3a01bb85b20df795db7128ad2ed431f11c
parent3f25ffa2cd946333d29a668993f5aa78e9b56a02
[media] cx231xx: Use parameters to describe some board variants

Instead of per-model tests all over the code, use some parameters
at the board entries to describe the model variants for:
- devices with 417 MPEG encoder;
- devices that use external AV;
- devices where vbi VANC endpoint doesn't work;
- devices with xc5000 that require different IF
  initialization (and probably will cover also
  xc3028).
- devices with xceive tuner that require a reset
  during init.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx231xx/cx231xx-avcore.c
drivers/media/video/cx231xx/cx231xx-cards.c
drivers/media/video/cx231xx/cx231xx-core.c
drivers/media/video/cx231xx/cx231xx-video.c
drivers/media/video/cx231xx/cx231xx.h