OSDN Git Service

media: staging: rkisp1: replace the call to v4l2_async_notifier_parse_fwnode_endpoint...
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Tue, 17 Mar 2020 18:07:01 +0000 (19:07 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 21 Apr 2020 15:21:10 +0000 (17:21 +0200)
commit1d3ac27801e51ca919ba78350d0b0079ceb1a39b
treeb7d992cf7f64605070ab81bdee0caf024b895275
parent4d0b43804c1245c63b5f87d89d14affc2195336f
media: staging: rkisp1: replace the call to v4l2_async_notifier_parse_fwnode_endpoints_by_port

don't call 'v4l2_async_notifier_parse_fwnode_endpoints_by_port'
in order to register async subdevices. Instead call
'v4l2_fwnode_endpoint_parse' to parse the remote endpoints
and then register each async subdev with
'v4l2_async_notifier_add_fwnode_remote_subdev'

Also remove the relevant item in the TODO file

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Acked-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/rkisp1/TODO
drivers/staging/media/rkisp1/rkisp1-dev.c