diff options
author | Hans Verkuil <hansverk@cisco.com> | 2016-07-14 06:31:32 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-15 13:20:28 -0300 |
commit | 693596c3ace1f5fe68055b2bd75848cd8a2d07db (patch) | |
tree | cca3ada74c804b0985f84a6bfa29d921b3457f37 /drivers/media | |
parent | 8d4eb2acb6d430e155a7d81bdbceca1e3394674b (diff) | |
download | linux-stable-693596c3ace1f5fe68055b2bd75848cd8a2d07db.tar.gz linux-stable-693596c3ace1f5fe68055b2bd75848cd8a2d07db.tar.bz2 linux-stable-693596c3ace1f5fe68055b2bd75848cd8a2d07db.zip |
[media] vivid: fix typo causing incorrect CEC physical addresses
Fix typo in vivid that caused all HDMI outputs to have the same
physical address.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/platform/vivid/vivid-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/vivid/vivid-core.c b/drivers/media/platform/vivid/vivid-core.c index 9966828bb578..7f937136c3f5 100644 --- a/drivers/media/platform/vivid/vivid-core.c +++ b/drivers/media/platform/vivid/vivid-core.c @@ -1232,7 +1232,7 @@ static int vivid_create_instance(struct platform_device *pdev, int inst) goto unreg_dev; } bus_cnt++; - if (bus_cnt <= in_type_counter[HDMI]) + if (bus_cnt <= out_type_counter[HDMI]) cec_s_phys_addr(adap, bus_cnt << 12, false); else cec_s_phys_addr(adap, 0x1000, false); |