]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: cec-notifier: small improvements
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 15 Jul 2017 12:32:56 +0000 (09:32 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 26 Jul 2017 09:46:44 +0000 (05:46 -0400)
commitfc1ff45a07abf240aa0c6586c11465c86c8cab8d
tree0eba84919fe75c472cb44ad97159f5c8b502190d
parent9b7c0c476f66ee212925c801c4141fdd83b7336d
media: cec-notifier: small improvements

Allow calling cec_notifier_set_phys_addr and
cec_notifier_set_phys_addr_from_edid with a NULL notifier, in which
case these functions do nothing.

Add a cec_notifier_phys_addr_invalidate helper function (the notifier
equivalent of cec_phys_addr_invalidate).

These changes simplify drm CEC driver support.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/cec/cec-notifier.c
include/media/cec-notifier.h