diff options
author | Martin Bugge <marbugge@cisco.com> | 2013-12-05 11:55:48 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-07 06:30:55 -0200 |
commit | 8e4e3631531050c6287a9fc3542c26b601f3e533 (patch) | |
tree | 9d2beb097146f34ceb91de074d1ce4451dfe7103 /drivers/media/i2c | |
parent | 3c4da74fe55e52e2635b08af99471a5679a7a92e (diff) | |
download | op-kernel-dev-8e4e3631531050c6287a9fc3542c26b601f3e533.zip op-kernel-dev-8e4e3631531050c6287a9fc3542c26b601f3e533.tar.gz |
[media] adv7842: set default input in platform-data
Signed-off-by: Martin Bugge <marbugge@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r-- | drivers/media/i2c/adv7842.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index dcafc8e..86db9fc 100644 --- a/drivers/media/i2c/adv7842.c +++ b/drivers/media/i2c/adv7842.c @@ -2804,7 +2804,7 @@ static int adv7842_probe(struct i2c_client *client, state->connector_hdmi = pdata->connector_hdmi; state->mode = pdata->mode; - state->hdmi_port_a = true; + state->hdmi_port_a = pdata->input == ADV7842_SELECT_HDMI_PORT_A; /* i2c access to adv7842? */ rev = adv_smbus_read_byte_data_check(client, 0xea, false) << 8 | |