diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2023-05-24 14:29:24 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-05-26 10:57:47 +0100 |
commit | 5aa8de7ad14f3bb7c39a67a63767de50b5fe122d (patch) | |
tree | 1d4662a2be99d9455c7029091fc3bb5439f9a940 /include/net/ip.h | |
parent | fe1b585ce91da47af7e7f8985428099d52eeca3c (diff) |
media: video-mux: fix error paths
Move notifier cleanup into video_mux_async_register() to avoid calling
v4l2_async_nf_unregister() when v4l2_async_subdev_nf_register() failed.
In case video_mux_async_register() fails, call media_entity_cleanup().
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/net/ip.h')
0 files changed, 0 insertions, 0 deletions