media: cec: allow any initiator for Ping and Image/Text View On
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 23 Apr 2019 12:14:01 +0000 (08:14 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 23 May 2019 09:37:02 +0000 (05:37 -0400)
commitb6c96e15682549a5b5cb9d0301f44949a012741a
tree424fbb216c653100ba9b504d259b7f7efa46ab30
parent89db242aa3c5fc631ff58faf5a0f7c604c84a9db
media: cec: allow any initiator for Ping and Image/Text View On

Some displays pull down the HPD when in standby, but CEC is still
active and the display can be woken up by sending an Image View On
or Text View On CEC command. The CEC specification doesn't tell you
what the initiator should be for such a command (without a HPD it's
unclear if the CEC adapter can claim a logical address).

This patch allows any initiator value when there is no HPD for the
Image/Text View On commands and for the Ping command.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/cec/cec-adap.c