summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPengpeng Hou <hppiscas@163.com>2026-09-20 11:48:33 +0800
committerLuca Ceresoli <luca.ceresoli@bootlin.com>2026-11-11 10:18:48 +0100
commit444b7116e7ef1fdb5f7db3bc1f74b20098d062d4 (patch)
tree858b87c078f2124f65d57a5b6f000f95e917b762 /tools/perf/scripts/python
parent7e2645d5c05ac03f240685fe76a2c04733d36a1a (diff)
drm/bridge: sii902x: validate I2S data lane values
The sil,i2s-data-lanes property reader bounds the number of entries, but does not bound each entry's value. Those values index the four-entry i2s_lane_id table when the audio FIFO sequence is built. Reject unsupported lane values before indexing that table. Report the property name and invalid value with dev_err_probe() so the diagnostic identifies the faulty configuration. The issue was found by our static-analysis tool. Fixes: ff5781634c41 ("drm/bridge: sii902x: Implement HDMI audio support") Assisted-by: gpt 5 Signed-off-by: Pengpeng Hou <hppiscas@163.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Link: https://patch.msgid.link/20260920034833.18874-1-hppiscas@163.com Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions