]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30ff3bd6e3bb29f46c0329882818905338129d98
tree06b1b14cc1a3571488c17be79cdc173715248713
parentc77828a37bd808e034b1237ff5c837b3d86478a7
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