WSL2-Linux-Kernel/drivers/media/platform/imx-jpeg
Christophe JAILLET 7b0b7b8a2b media: imx-jpeg: Fix the error handling path of 'mxc_jpeg_probe()'
[ Upstream commit 5c47dc6657 ]

A successful 'mxc_jpeg_attach_pm_domains()' call should be balanced by a
corresponding 'mxc_jpeg_detach_pm_domains()' call in the error handling
path of the probe, as already done in the remove function.

Update the error handling path accordingly.

Fixes: 2db16c6ed7 ("media: imx-jpeg: Add V4L2 driver for i.MX8 JPEG Encoder/Decoder")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-18 19:16:28 +01:00
..
Kconfig media: VIDEO_IMX8_JPEG should depend on ARCH_MXC and not default to m 2021-04-06 16:12:16 +02:00
Makefile
mxc-jpeg-hw.c
mxc-jpeg-hw.h
mxc-jpeg.c media: imx-jpeg: Fix the error handling path of 'mxc_jpeg_probe()' 2021-11-18 19:16:28 +01:00
mxc-jpeg.h media: imx-jpeg: Constify static struct mxc_jpeg_fmt 2021-06-17 10:24:09 +02:00