diff options
author | Hans de Goede <hdegoede@redhat.com> | 2024-04-10 17:15:32 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2024-04-26 10:54:38 +0100 |
commit | e03a5d3e95f22d15d8dfd97b1d31ea6247931b48 (patch) | |
tree | 1f348b2e3d5cb391295b3b2c2e9425b1f6e09743 /drivers/vhost/vsock.c | |
parent | 1c3432df2339c6fcc4399ea2299ad565bdb506e4 (diff) | |
download | linux-e03a5d3e95f22d15d8dfd97b1d31ea6247931b48.tar.gz linux-e03a5d3e95f22d15d8dfd97b1d31ea6247931b48.tar.bz2 linux-e03a5d3e95f22d15d8dfd97b1d31ea6247931b48.zip |
media: atomisp: Drop atomisp_pipe_check() from atomisp_link_setup()
The media-controller core (__media_entity_setup_link()) already checks
that the pads of the link are not streaming before calling the setup_link()
pad-op so calling atomisp_pipe_check() is not necessary;
and taking isp->mutex inside the setup_link() pad-op leads to a possible
ABBA deadlock vs the media-device graph_mutex which in the case of
the setup_link() pad-op is taken before calling the op, while in other
scenarios the graph_mutex is taken after the isp->mutex.
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>
Diffstat (limited to 'drivers/vhost/vsock.c')
0 files changed, 0 insertions, 0 deletions