summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2018-10-10 07:12:15 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-11-06 05:22:42 -0500
commit55623b4169056d7bb493d1c6f715991f8db67302 (patch)
treea2635f64987c20f8b5c3c49a63709b11e20e2050 /include/media
parent7cf7b2e977abf3f992036939e35a8eab60013aff (diff)
downloadlinux-stable-55623b4169056d7bb493d1c6f715991f8db67302.tar.gz
linux-stable-55623b4169056d7bb493d1c6f715991f8db67302.tar.bz2
linux-stable-55623b4169056d7bb493d1c6f715991f8db67302.zip
media: cec: check for non-OK/NACK conditions while claiming a LA
During the configuration phase of a CEC adapter it is trying to claim a free logical address by polling. However, the code doesn't check if there were errors other than OK or NACK, those are just treated as if the poll was NACKed. Instead check for such errors and retry the poll. And if the problem persists then don't claim this LA since there is something weird going on. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions