]> 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)
commit1115817b9a042cbbf1b4aae6291793d28342311b
tree8c3d01339b725bc641ab43eb41902460671df620
parentcb7af83afdf847c559fa3cbe084114226e1ae566
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