]> www.infradead.org Git - users/dwmw2/linux.git/commit
media: atomisp: Call media_pipeline_alloc_start() in stream start
authorHans de Goede <hdegoede@redhat.com>
Fri, 12 Apr 2024 12:39:50 +0000 (13:39 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 26 Apr 2024 09:54:03 +0000 (10:54 +0100)
commit1c3432df2339c6fcc4399ea2299ad565bdb506e4
tree8c0db74b40fb346c6312b236d4728918543d92a1
parent20a7f79982b5437bc8af44785326c59cf2f77378
media: atomisp: Call media_pipeline_alloc_start() in stream start

Call media_pipeline_alloc_start() from atomisp_start_streaming() to mark
all involved subdevs as busy so that the links cannot be changed through
the media-controller APIs while streaming.

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