[PATCH v12 69/86] media: ipu6: Rename misnamed out_free_watermark label in video init

Sakari Ailus
2026-04-09T20:15:10Z

ipu6_isys_video_init() has a label in the error path where it is used to
destroy a mutex. Rename the label as err_mutex_destroy.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
drivers/media/pci/intel/ipu6/ipu6-isys-video.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/media/pci/intel/ipu6/ipu6-isys-video.c b/drivers/media/pci/intel/ipu6/ipu6-isys-video.c
index 164000985c0d..eebce7593b3f 100644
--- a/drivers/media/pci/intel/ipu6/ipu6-isys-video.c
+++ b/drivers/media/pci/intel/ipu6/ipu6-isys-video.c
@@ -1206,7 +1206,7 @@ int ipu6_isys_video_init(struct ipu6_isys_video *av)

ret = ipu6_isys_queue_init(&av->aq);
if (ret)
- goto out_free_watermark;
+ goto out_mutex_destroy;

av->pad.flags = MEDIA_PAD_FL_SINK | MEDIA_PAD_FL_MUST_CONNECT;
ret = media_entity_pads_init(&av->vdev.entity, 1, &av->pad);
@@ -1243,7 +1243,7 @@ int ipu6_isys_video_init(struct ipu6_isys_video *av)
out_vb2_queue_release:
vb2_queue_release(&av->aq.vbq);

-out_free_watermark:
+out_mutex_destroy:
mutex_destroy(&av->mutex);

return ret;
--
2.47.3