media: stih_cec: use new cec_notifier_parse_hdmi_phandle helper
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 10 Apr 2019 09:13:31 +0000 (05:13 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Apr 2019 17:13:03 +0000 (13:13 -0400)
commite3a7c52de95629cbb0c2840e787523a9393b1fc6
tree06b1b14cc1a3571488c17be79cdc173715248713
parentba9db909d3a4fbc1633bcb18b4118cec84aed668
media: stih_cec: use new cec_notifier_parse_hdmi_phandle helper

The STI 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>
Acked-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/sti/cec/stih-cec.c