]> git.baikalelectronics.ru Git - kernel.git/commit
media: rkisp1: csi: Pass sensor pointer to rkisp1_csi_config()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2022 19:10:55 +0000 (20:10 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 17 Jul 2022 11:12:58 +0000 (12:12 +0100)
commitfa15639ce6408801769672827dbf733d4dcb0733
tree878e7369106266e3f84d4fac28e2a651af70b8de
parent6b7f98b918f6fc63208fa4a88eb85468c337bf68
media: rkisp1: csi: Pass sensor pointer to rkisp1_csi_config()

To prepare for the removal of the active_sensor field from the
rkisp1_device structure, pass the sensor pointer to the
rkisp1_csi_config() function instead of accessing it through
active_sensor.

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>
drivers/media/platform/rockchip/rkisp1/rkisp1-csi.c