]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:58:28 +0000 (19:58 -0600)
commit5dcc0d742835e21e6195ceb5f76ad73e1530e6a1
tree4d5d1395eabc8bdb3eac0f761b948979b6db4876
parentce0ace31bde475fec2a8d58ea4d8ad0757819502
media: cec: integrate cec_validate_phys_addr() in cec-api.c

BugLink: https://bugs.launchpad.net/bugs/1836802
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>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/media/cec/cec-api.c