]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
media: cec-gpio: select correct Signal Free Time
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 5 Oct 2018 12:51:45 +0000 (08:51 -0400)
committerKhalid Elmously <khalid.elmously@canonical.com>
Thu, 28 Nov 2019 04:59:27 +0000 (23:59 -0500)
commit062d39a0efa75245f979e2356303793078a7f9ba
tree0ac4da5248862e0b9bcf10f903c9f8fc5c04ad19
parent5083941376d23a90066763d6354b44d969fdac22
media: cec-gpio: select correct Signal Free Time

BugLink: https://bugs.launchpad.net/bugs/1854216
[ Upstream commit c439d5c1e13dbf66cff53455432f21d4d0536c51 ]

If a receive is in progress or starts before the transmit has
a chance, then lower the Signal Free Time of the upcoming transmit
to no more than CEC_SIGNAL_FREE_TIME_NEW_INITIATOR.

This is per the specification requirements.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/media/cec/cec-pin.c