Commit ada092e8 authored by Hans Verkuil's avatar Hans Verkuil
Browse files

media: nxp: imx-jpeg: use goto instead of return



For consistency use goto instead of return.

This fixes a smatch warning:

drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c:2792 mxc_jpeg_probe() warn: missing unwind goto?

Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent f31b2cb8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2789,7 +2789,7 @@ static int mxc_jpeg_probe(struct platform_device *pdev)
	ret = mxc_jpeg_attach_pm_domains(jpeg);
	if (ret < 0) {
		dev_err(dev, "failed to attach power domains %d\n", ret);
		return ret;
		goto err_clk;
	}

	/* v4l2 */