diff options
| author | Zhen Lei <[email protected]> | 2021-05-15 08:58:30 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-06-02 13:31:39 +0200 |
| commit | a6b1e7093f0a099571fc8836ab4a589633f956a8 (patch) | |
| tree | 3240ad263f99f87aaa5d1fbdfb9ea10db98b1685 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d67fa04ce41f7b5d92563734d76c55a676846cc4 (diff) | |
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 <[email protected]>
Signed-off-by: Zhen Lei <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions