media: rkisp1: Program RKISP1_CIF_MI_SP_Y_PIC_SIZE register
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 27 Apr 2023 08:43:17 +0000 (11:43 +0300)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 12 Oct 2023 07:46:37 +0000 (09:46 +0200)
commitf4bc9c79a55a40608a405700a574303e4b90b310
tree10975062f8941ee3b90f99c915195774be671f48
parent7bf62fa39bf5c89d92962dce0022ef59ec52a2a0
media: rkisp1: Program RKISP1_CIF_MI_SP_Y_PIC_SIZE register

The self path has a Y_PIC_SIZE register that needs to be programmed to
the total number of pixels, including the stride. This isn't done by the
driver, fix it.

While at it, reorder the register write order to sort them by address.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c