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)
commitaf2dababb4d6e893fce440d6620e1231979eae4f
treeed58a91d90ba6c030f5677c02867ea5d2fe8a5d3
parentdeaf1120ab96666f797a9e6ff1ef60392c3df239
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