]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: cec: integrate cec_validate_phys_addr() in cec-api.c
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 13 Sep 2018 07:36:29 +0000 (03:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2018 19:12:49 +0000 (11:12 -0800)
commitdbcbbbbf5aa37675b19f509e2f0364774a09bf1c
treecb201c2730cb854ebe892e7b48f5c577a2b2c345
parente4e97d13dd135eeb7fd70e4b9f33ebfd874a06c7
media: cec: integrate cec_validate_phys_addr() in cec-api.c

commit e81bff39489a06384822bb38ce7a59f9e365bbe9 upstream.

The cec_phys_addr_validate() function will be moved to V4L2,
so use a simplified variant of that function in cec-api.c.
cec now no longer calls cec_phys_addr_validate() and it can
be safely moved to V4L2.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: <stable@vger.kernel.org> # for v4.17 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/cec/cec-api.c