]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: qcom: camss: Add check for v4l2_fwnode_endpoint_parse
authorChen Ni <nichen@iscas.ac.cn>
Fri, 21 Jun 2024 01:35:22 +0000 (09:35 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 29 Jun 2024 10:20:05 +0000 (12:20 +0200)
commit4caf6d93d9f2c11d6441c64e1c549c445fa322ed
tree4c448e7def93ab621ce724a27b3c2cfd087fcbcd
parent4f0200f0c373231d4a03dcbb1a834aca72cd8cd8
media: qcom: camss: Add check for v4l2_fwnode_endpoint_parse

Add check for the return value of v4l2_fwnode_endpoint_parse() and
return the error if it fails in order to catch the error.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/qcom/camss/camss.c