]> git.baikalelectronics.ru Git - kernel.git/commit
media: tegra_cec: use new cec_notifier_parse_hdmi_phandle helper
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 10 Apr 2019 09:13:32 +0000 (05:13 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Apr 2019 17:13:27 +0000 (13:13 -0400)
commit3a193698219a640f0e564c53452d2fe51da2a431
tree9417bd18d1cddba4035f24a577ecf4c980ecd041
parent30ff3bd6e3bb29f46c0329882818905338129d98
media: tegra_cec: use new cec_notifier_parse_hdmi_phandle helper

The Tegra CEC driver increased the HDMI device refcount when
it shouldn't. Use the new helper function to ensure that that
doesn't happen and to simplify the driver code.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/tegra-cec/tegra_cec.c