OSDN Git Service

media: atomisp: unify sh_css_params_shading_id_table_generate()
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 23 Apr 2020 07:37:27 +0000 (09:37 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 10:32:16 +0000 (12:32 +0200)
commit19801a18a0c751f569a518d1cab8fe9b9a04cdda
tree7881080b8239af2166c3a1a9686347f197014c91
parent5e0947450d16de5fd59fa43d04a53c5df037d54b
media: atomisp: unify sh_css_params_shading_id_table_generate()

Instead of packing parameters differently on ISP2400 and ISP2401,
use just one way of passing them for both.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_param_shading.c
drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_param_shading.h
drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_params.c