summaryrefslogtreecommitdiff
path: root/lib/gen_crc64table.c
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2024-02-16 12:54:57 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-02-23 15:23:32 +0300
commit6c144351f2366c590336cc6c23918e20c43ef938 (patch)
treeca1c026b22ecead966f5b151fbf094a6fbc99f42 /lib/gen_crc64table.c
parent0a593f711ac7fb775ac132e9f5fea54ae2a0d85d (diff)
downloadlinux-6c144351f2366c590336cc6c23918e20c43ef938.tar.xz
media: rkisp1: Fix endianness on raw streams on i.MX8MP
The i.MX8MP has extra register fields in the memory interface control register for setting the output format, which work with the output alignment format register for byte-swapping and LSB/MSB alignment. With processed and 8-bit raw streams, it doesn't cause any problems to not set these, but with raw streams of higher bit depth the endianness is swapped and the data is not aligned properly. Add support for setting these registers and plumb them in to fix this. While at it, reflow a comment related to the forced configuration update. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Diffstat (limited to 'lib/gen_crc64table.c')
0 files changed, 0 insertions, 0 deletions