[media] adv7604: Replace prim_mode by mode
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 16 Oct 2012 09:40:45 +0000 (06:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 21 Nov 2012 19:43:49 +0000 (17:43 -0200)
commit6b0d5d344a78d43957a9f49c549b6f3aa2dc2082
treed9be6a19a2cca3567ba3cb4ff5d28445acd066f9
parent809396474f41fb6e7e676e298d79856c5e02d755
[media] adv7604: Replace prim_mode by mode

Changes the way the primary mode is handled:
- Remove it from platform_data since it doesn't belong there.
- Add a new mode enum for use with s_routing.
- Collapse the two HDMI modes into one HDMI mode: when setting up the
  timings manually we do not need to select HDMI_COMP mode. That's only
  needed when selecting a preset.
This patch prepares for the next step where we switch to using the presets
where available.

Signed-off-by: Mats Randgaard <mats.randgaard@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/adv7604.c
include/media/adv7604.h