diff options
| author | 2026-09-30 14:41:30 +0800 | |
|---|---|---|
| committer | 2026-09-30 16:51:17 +0200 | |
| commit | b8b2228e2b1d61f8e2eb0044c22865e2fba25953 (patch) | |
| tree | 2bc533c5660da6c38e55d1dd4093fade931ba320 /scripts/Makefile.thinlto | |
| parent | media: i2c: it6625: use unsigned int indices in EDID read/write (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
