summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-10-01 04:56:38 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-04 13:39:17 +0100
commitfcaaac2e7aa61f08af7aa6d673fcca5edcc931a0 (patch)
treeb67469a540c9ff5f2fc20d78818478d13ab7a160 /samples
parentfcc34c44d1fe073fa67a31eeed32a87bf0dcefdd (diff)
media: cec-funcs.h: add status_req checks
[ Upstream commit 9b211f9c5a0b67afc435b86f75d78273b97db1c5 ] The CEC_MSG_GIVE_DECK_STATUS and CEC_MSG_GIVE_TUNER_DEVICE_STATUS commands both have a status_req argument: ON, OFF, ONCE. If ON or ONCE, then the follower will reply with a STATUS message. Either once or whenever the status changes (status_req == ON). If status_req == OFF, then it will stop sending continuous status updates, but the follower will *not* send a STATUS message in that case. This means that if status_req == OFF, then msg->reply should be 0 as well since no reply is expected in that case. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions