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: 4d34c926: ("media: tegra_cec: use new cec_notifier_parse_hdmi_phandle helper") Signed-off-by: NHans Verkuil <hverkuil-cisco@xs4all.nl> Reported-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Showing
想要评论请 注册 或 登录