summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorHermes Wu <Hermes.wu@ite.com.tw>2026-09-30 14:41:30 +0800
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-09-30 16:51:17 +0200
commitb8b2228e2b1d61f8e2eb0044c22865e2fba25953 (patch)
tree2bc533c5660da6c38e55d1dd4093fade931ba320 /tools/perf/scripts/python/bin/stackcollapse-report
parent6d7ce9162ccfd53090b23795b072e95921f33254 (diff)
media: i2c: it6625: use unaligned/units helpers to decode pixel clock
it6625_get_pclk() manually assembled a big-endian u32 from a 4-byte buffer with a shift-and-OR sequence, and multiplied by a bare 1000. Read the register range with sizeof(ck), decode it with get_unaligned_be32(), and use HZ_PER_KHZ to convert the kHz register value to the Hz value V4L2 DV timings expect. Add the linux/unaligned.h and linux/units.h includes these need. While touching this declaration block, reorder it per reverse fir-tree. 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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions