]> git.baikalelectronics.ru Git - kernel.git/commit
media: meson: ao-cec: use new cec_notifier_parse_hdmi_phandle helper
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 10 Apr 2019 09:13:29 +0000 (05:13 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Apr 2019 17:10:52 +0000 (13:10 -0400)
commiteb710b5eafbc72775cac6b9d5189471831ed8666
tree8c3d01339b725bc641ab43eb41902460671df620
parent564625dfbd79e890a8ef80b34202ac4297ae3724
media: meson: ao-cec: use new cec_notifier_parse_hdmi_phandle helper

The meson 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: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/meson/ao-cec.c