]> git.baikalelectronics.ru Git - kernel.git/commit
media: rkisp1: Reject sensors without pixel rate control at bound time
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 14 Jun 2022 19:10:44 +0000 (20:10 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 17 Jul 2022 11:02:48 +0000 (12:02 +0100)
commit436a3942ff1873a4c890284048f8f9ad87ced260
treeed58a91d90ba6c030f5677c02867ea5d2fe8a5d3
parent1ecb804b61d094f22f56367c49efe850aae203c4
media: rkisp1: Reject sensors without pixel rate control at bound time

The rkisp1 driver requires the sensor to implement the pixel rate
control. Trying to operate without it will cause an error when starting
streaming. Catch the issue earlier, at bound time.

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