]> git.baikalelectronics.ru Git - kernel.git/commit
media: tegra-cec: fix cec_notifier_parse_hdmi_phandle return check
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 24 Apr 2019 10:09:54 +0000 (06:09 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 8 May 2019 18:02:45 +0000 (14:02 -0400)
commit28bea3e7d60eb491fdf6f9a3a8403a1a293124f8
tree71d43ebb8abb1d68feca39fe6a49ba6aba40c791
parent784cfcebfac82cbabca59489f27e93a98527812b
media: tegra-cec: fix cec_notifier_parse_hdmi_phandle return check

cec_notifier_parse_hdmi_phandle returns an error pointer, not a NULL
pointer on error.

Fixes: 3627b888355c: ("media: tegra_cec: use new cec_notifier_parse_hdmi_phandle helper")
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/tegra-cec/tegra_cec.c