diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2024-12-15 03:33:58 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-01-07 14:21:37 +0300 |
commit | 9229b53f9758c74cda145489cece0cd885b65877 (patch) | |
tree | 66d3f3f1ee083f5f7961f2d256236c5175524faf /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 210afa1598de32070faac2c7a33db6006c8408be (diff) | |
download | linux-9229b53f9758c74cda145489cece0cd885b65877.tar.xz |
Revert "media: qcom: camss: Restructure camss_link_entities"
This reverts commit cc1ecabe67d92a2da0b0402f715598e8dbdc3b9e.
This commit has a basic flaw in that it relies on camss->res->csid_num as a
control to index the array camss->vfe[i].
Testing on a platform where csid_num > vfe_num showed this bug up.
camss->vfe should only be indexed by camss->res->vfe_num. Since this commit
is meant to make the code be more readable reverting will simply restore
the previous correct bounds checking.
We can make another pass at making camss_link_entities look prettier but,
for now we should zap the bug introduced.
Fixes: cc1ecabe67d9 ("media: qcom: camss: Restructure camss_link_entities")
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions