summaryrefslogtreecommitdiff
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-04-10 05:13:28 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-04-22 13:09:59 -0400
commitfbbd403b3286b4467f8b755efa0f10819cef9bba (patch)
tree94f01897c4aa8eb2e9b13eb813c81a1ec234ccf0 /drivers/media/platform
parent63604a143fe168094fbbccba56f6e3241683e399 (diff)
downloadlinux-rt-fbbd403b3286b4467f8b755efa0f10819cef9bba.tar.gz
media: cec-notifier: add cec_notifier_parse_hdmi_phandle helper
Add helper function to parse the DT for the hdmi-phandle property and return the corresponding struct device pointer. It takes care to avoid increasing the device refcount since all we need is the device pointer. This pointer is used in the notifier list as a key, but it is never accessed by the CEC driver. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Reported-by: Wen Yang <wen.yang99@zte.com.cn> Acked-by: Wen Yang <wen.yang99@zte.com.cn> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform')
0 files changed, 0 insertions, 0 deletions