Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 693596c3 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 8d4eb2ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);