summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-01-27 04:21:57 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-02-08 11:06:27 +0300
commit2c117550d70578b0b9eb183807b0984c11ecb44b (patch)
treefe93b26233ca4b6ac1d927ff9ff75677dda24645 /tools/perf/scripts/python/export-to-postgresql.py
parent49a82584b87c385b267f4ca12674f08bd229ab57 (diff)
downloadlinux-2c117550d70578b0b9eb183807b0984c11ecb44b.tar.xz
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 <laurent.pinchart@ideasonboard.com> Tested-by: Adam Ford <aford173@gmail.com> #imx8mm-beacon-kit Acked-by: Rui Miguel Silva <rmfrfs@gmail.com> Tested-by: Martin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions