diff options
| author | Hermes Wu <Hermes.wu@ite.com.tw> | 2026-09-30 14:41:26 +0800 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-09-30 16:51:16 +0200 |
| commit | 62b806751d5977def7f8351fd8947395748674d5 (patch) | |
| tree | 688a53b42c89726b2fbbac46a0d14bda524ebaa4 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 0a3f81a44f12ef63140a87848814ad3cdf0015a1 (diff) | |
media: i2c: it6625: make the audio sampling-rate table static const
s_fsid_map in get_audio_sampling_rate() is a fixed lookup table
rebuilt on the stack on every call; make it static const so it's
emitted once as read-only data instead. While touching this
declaration, move it ahead of the plain int locals per reverse
fir-tree ordering.
Signed-off-by: Hermes Wu <Hermes.wu@ite.com.tw>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
