aboutsummaryrefslogtreecommitdiff
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2023-01-27 02:21:57 +0100
committerMauro Carvalho Chehab <[email protected]>2023-02-08 09:06:27 +0100
commit2c117550d70578b0b9eb183807b0984c11ecb44b (patch)
treefe93b26233ca4b6ac1d927ff9ff75677dda24645 /net/unix/unix_bpf.c
parent49a82584b87c385b267f4ca12674f08bd229ab57 (diff)
media: imx: imx7-media-csi: Cleanup errors in imx7_csi_async_register()
It's good practice for functions to perform error cleanup internally when they fail, in order to not leave the device in a half-initialized state. Move the async notifier cleanup from the probe error path to the imx7_csi_async_register(), and drop the v4l2_async_nf_unregister() call as there is no error path after the async notifier gets registered. Signed-off-by: Laurent Pinchart <[email protected]> Tested-by: Adam Ford <[email protected]> #imx8mm-beacon-kit Acked-by: Rui Miguel Silva <[email protected]> Tested-by: Martin Kepplinger <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions