summaryrefslogtreecommitdiffstats
path: root/lib/test_ida.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-05-29 11:37:33 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-06-09 15:29:30 +0100
commiteec8787bfb5558999ac97ac3363acc7fc8c4fdf8 (patch)
tree113ac4efc258d2a8f78c28a6b31fe94cd998b5bb /lib/test_ida.c
parent9f221053342ab943c4bac8d5cf10ca256793a878 (diff)
downloadlinux-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