]> git.baikalelectronics.ru Git - kernel.git/commit
media: rkisp1: isp: Move input configuration to rkisp1_config_isp()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2022 19:11:03 +0000 (20:11 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 17 Jul 2022 11:17:47 +0000 (12:17 +0100)
commit34a6f0045c1b8568f76f7f65224c5b38c49bf4ec
tree3fa49ecae0f47dfe1188e32205e9acc8b50d2806
parent76d19f3aa95d648444f97a5132834f67cd081263
media: rkisp1: isp: Move input configuration to rkisp1_config_isp()

The ISP_ACQ_PROP register is set twice, once in rkisp1_config_isp() for
most of its fields, and once in rkisp1_config_dvp() (called from
rkisp1_config_path()) to configure the input selection field. Move the
latter to rkisp1_config_isp() to write the register once only, and drop
the now empty rkisp1_config_dvp() function.

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