]> 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)
commit3627b888355c6ee095717495c612c5cf656f4288
tree9417bd18d1cddba4035f24a577ecf4c980ecd041
parent0845ad3f74cdc832ed57559a427746e98fa0e7ee
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