]> git.baikalelectronics.ru Git - kernel.git/commit
media: rcar-vin: Register media device when all sub-devices bound
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Thu, 13 Aug 2020 21:06:02 +0000 (23:06 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 29 Aug 2020 06:16:58 +0000 (08:16 +0200)
commit7a24e2aa587e96db624443b1d1f8e6c4fb61b7f8
treec55339681aee9e208abdab5f9883f3c93122b817
parentcbf93aa0e7ef3f153a15548ab2c98ba7bc1f2c20
media: rcar-vin: Register media device when all sub-devices bound

The media device is not usable by userspace before all devices involved
in capture are present in the system. Move registering of the media
device to the async complete callback.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/rcar-vin/rcar-core.c