The source project of this merge request has been removed.
imx: Fix rounding values
The commit message mentions 8-pixels alignment, whereas rounding is performed to 2^8. For the width, the rounding factor is 8-pixels, according to the data sheet. This indicates that the author misunderstood the round_up() semantics in the neighboring roundings too.
This fixes big camera preview in Megapixels:
- https://source.puri.sm/dorota.czaplejewicz/nani#debugging-info
- sebastian.krzyszkowiak/megapixels@a33e5d21
WIP: this is based on https://source.puri.sm/Librem5/linux-next/-/merge_requests/430 .
Edited by Dorota Czaplejewicz