]> git.baikalelectronics.ru Git - kernel.git/commit
media: rkisp1: isp: Merge ISP_ACQ_PROP configuration in single variable
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2022 19:11:04 +0000 (20:11 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 17 Jul 2022 11:18:14 +0000 (12:18 +0100)
commitcd34afe1c1c15631e8dd1b0d7db2851de14751b2
tree7559d09147cdb354f34bbb70f3d812b4eabb123a
parent34a6f0045c1b8568f76f7f65224c5b38c49bf4ec
media: rkisp1: isp: Merge ISP_ACQ_PROP configuration in single variable

The rkisp1_config_isp() function stores the value of the input selection
and polarity configuration in two different local variables, OR'ed
together when writing the register. Merge them into a single acq_prop
variable.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Dafna Hirschfeld <dafna@fastmail.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c