* [PATCH] vivid: fix typo causing incorrect CEC physical addresses
@ 2016-07-14 9:31 Hans Verkuil
0 siblings, 0 replies; only message in thread
From: Hans Verkuil @ 2016-07-14 9:31 UTC (permalink / raw)
To: linux-media
Fix typo in vivid that caused all HDMI outputs to have the same
physical address.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
diff --git a/drivers/media/platform/vivid/vivid-core.c b/drivers/media/platform/vivid/vivid-core.c
index 9966828..7f93713 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);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-14 9:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-14 9:31 [PATCH] vivid: fix typo causing incorrect CEC physical addresses Hans Verkuil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).