media: qcom: camss: Fix V4L2 async notifier error path
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Wed, 30 Aug 2023 15:16:07 +0000 (16:16 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 27 Sep 2023 07:39:53 +0000 (09:39 +0200)
commitb278080a89f452063915beda0ade6b3ed5ee4271
tree27d59904f4ac09091b44c43e8ff0aeb83d0c9447
parent7405116519ad70b8c7340359bfac8db8279e7ce4
media: qcom: camss: Fix V4L2 async notifier error path

Previously the jump label err_cleanup was used higher in the probe()
function to release the async notifier however the async notifier
registration was moved later in the code rendering the previous four jumps
redundant.

Rename the label from err_cleanup to err_v4l2_device_unregister to capture
what the jump does.

Fixes: 51397a4ec75d ("media: qcom: Initialise V4L2 async notifier later")
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil: fix old name in commit log: err_v4l2_device_register -> err_v4l2_device_unregister]
drivers/media/platform/qcom/camss/camss.c