diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-08-17 01:53:57 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-09-24 08:41:01 +0200 |
commit | 10e36b2191401ffe98373e144580e0a9288e71e9 (patch) | |
tree | 31bf62f2b721838d6782c2d356759fde684dc4d7 /drivers/gpio/gpio-rdc321x.c | |
parent | da57dffa098c8d8e46cda4c891e106bdc849712d (diff) | |
download | linux-10e36b2191401ffe98373e144580e0a9288e71e9.tar.bz2 |
media: rkisp1: Simplify LSC x/y size and grad register macros
The LSC module x/y size and grad configuration is stored in a set of 4
indexed registers each. The rkisp1-regs.h header defines all those
registers, but only the first one in each set is used, with manual
calculation of addresses of subsequent registers. Simplifies this by
merging all 4 register macros into one that takes the index as a
parameter. No functional change intended.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Dafna Hirschfeld <dafna@fastmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/gpio/gpio-rdc321x.c')
0 files changed, 0 insertions, 0 deletions