]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: Split subdev and video-node registration into 2 steps
authorHans de Goede <hdegoede@redhat.com>
Sun, 28 Aug 2022 19:41:50 +0000 (21:41 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 24 Sep 2022 07:57:10 +0000 (09:57 +0200)
commit3a3597cad505eeae695844ba23c0b4a047d0d5bc
tree3c1abb9dc6b422de17b8cbc738105a1aac759dbe
parent749ede7413cb668d4d88d44ab11562ee8c288d08
media: atomisp: Split subdev and video-node registration into 2 steps

Split subdev and video-node registration into 2 steps, this is
a preparation step for moving video-node registration to the
end of probe() so that the loading() mutex can be removed.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_subdev.c
drivers/staging/media/atomisp/pci/atomisp_subdev.h
drivers/staging/media/atomisp/pci/atomisp_v4l2.c