Zhen Lei a6b1e7093f media: tc358743: Fix error return code in tc358743_probe_of()
When the CSI bps per lane is not in the valid range, an appropriate error
code -EINVAL should be returned. However, we currently do not explicitly
assign this error code to 'ret'. As a result, 0 was incorrectly returned.

Fixes: 256148246852 ("[media] tc358743: support probe from device tree")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-06-02 13:31:39 +02:00
..
2019-07-09 09:47:22 -07:00
2021-02-01 10:03:45 +01:00
2020-07-19 14:15:42 +02:00
2019-03-01 09:29:58 -05:00
2019-03-01 09:29:58 -05:00
2019-03-01 09:29:58 -05:00