diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-05-29 11:37:33 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-06-09 15:29:30 +0100 |
commit | eec8787bfb5558999ac97ac3363acc7fc8c4fdf8 (patch) | |
tree | 113ac4efc258d2a8f78c28a6b31fe94cd998b5bb /lib/test_ida.c | |
parent | 9f221053342ab943c4bac8d5cf10ca256793a878 (diff) | |
download | linux-stable-eec8787bfb5558999ac97ac3363acc7fc8c4fdf8.tar.gz linux-stable-eec8787bfb5558999ac97ac3363acc7fc8c4fdf8.tar.bz2 linux-stable-eec8787bfb5558999ac97ac3363acc7fc8c4fdf8.zip |
media: atomisp: Add ia_css_frame_pad_width() helper function
Factor the code to go from width to a properly aligned pitch out of
ia_css_frame_info_set_width().
This is a preparation patch to fix try_fmt() calls returning a bogus
bytesperline value.
Link: https://lore.kernel.org/r/20230529103741.11904-14-hdegoede@redhat.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'lib/test_ida.c')
0 files changed, 0 insertions, 0 deletions