]> git.baikalelectronics.ru Git - kernel.git/commit
media: s5p_cec: use new cec_notifier_parse_hdmi_phandle helper
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 10 Apr 2019 09:13:30 +0000 (05:13 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Apr 2019 17:12:07 +0000 (13:12 -0400)
commitc77828a37bd808e034b1237ff5c837b3d86478a7
treeeaf39bf7b1fa237ec8ae7b3871b5da193475e5b9
parenteb710b5eafbc72775cac6b9d5189471831ed8666
media: s5p_cec: use new cec_notifier_parse_hdmi_phandle helper

The S5P 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/s5p-cec/s5p_cec.c