]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: remove non-used 32-bits consts at system_local
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 18 Jul 2020 07:30:56 +0000 (09:30 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 19 Jul 2020 06:08:33 +0000 (08:08 +0200)
commit6b153bd3af02cbbbe72c1b2d6228b5e04c25f1c9
tree52f3f150932b310d2976a58e55bca14f5840ed98
parentdaf7e1f04248e502589d02c45babad78e2e369fe
media: atomisp: remove non-used 32-bits consts at system_local

There is an abstraction at the code in order to support
32 or 64 bits address/data length. However, for all
Atom chipsets supported by this version, the size is fixed.

So, cleanup the mess, removing the uused code and placing
the data sizes on a single place.

The end goal is to completely remove those local/global
headers, replacing them by some ISP-version dependent struct,
in order for the driver to decide what version it would need
in runtime.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/hive_types.h
drivers/staging/media/atomisp/pci/isp2400_system_global.h
drivers/staging/media/atomisp/pci/isp2400_system_local.h
drivers/staging/media/atomisp/pci/isp2401_system_global.h
drivers/staging/media/atomisp/pci/isp2401_system_local.h