OSDN Git Service

media: atomisp: Make bds_factors_list be type of struct u32_fract
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 18 Nov 2022 18:43:09 +0000 (18:43 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 25 Nov 2022 08:25:38 +0000 (08:25 +0000)
commit387210edb98312ebde71e3bc2e2d97ccd866cdbb
tree8a33b434a43e7ba8af2a721ced189dda12912007
parent6f5c0bafa6d1311501e25c2dec096df40fcbe350
media: atomisp: Make bds_factors_list be type of struct u32_fract

The list contains the Bayer scale index, and rational fraction of it.
The struct u32_fract is suitable type to hold that. Convert the driver
to use latter instead of former.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/camera/pipe/interface/ia_css_pipe_binarydesc.h
drivers/staging/media/atomisp/pci/camera/pipe/src/pipe_binarydesc.c
drivers/staging/media/atomisp/pci/runtime/binary/src/binary.c
drivers/staging/media/atomisp/pci/sh_css_param_shading.c