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)
commit4d34c9267db7af6c23c29adb73a58882a250c2e0
tree9417bd18d1cddba4035f24a577ecf4c980ecd041
parente3a7c52de95629cbb0c2840e787523a9393b1fc6
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