Hi Mauro,
Please pull the following vimc fixes update for Linux 6.1-rc6.
This vimc fixes update for Linux Media 6.1-rc6 consists of a critical fix
in vimc_init error path.
diff is attached.
Please note that this patch a candidate for stables: applies to 6.0, 5.15,
and 5.10 as is. Since vimc moved it needs port for 5.4 and 4.19.
I will send patches for 5.4 and 4.19 stables once this patch get into the
mainline.
thanks,
-- Shuah
----------------------------------------------------------------
The following changes since commit ca6976420bf11cb2c11702d824692c3b7d301b37:
media: vimc: Update device configuration in the documentation (2022-10-18 16:24:53 -0600)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux tags/linux-vimc-6.1-rc6
for you to fetch changes up to 4585c540ad1358389e11240dc8d6cd9343f71e0a:
media: vimc: Fix wrong function called when vimc_init() fails (2022-11-10 09:52:53 -0700)
----------------------------------------------------------------
linux-vimc-6.1-rc6
This vimc fixes update for Linux Media 6.1-rc6 consists of a critical fix
in vimc_init error path.
----------------------------------------------------------------
Chen Zhongjin (1):
media: vimc: Fix wrong function called when vimc_init() fails
drivers/media/test-drivers/vimc/vimc-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------
diff --git a/drivers/media/test-drivers/vimc/vimc-core.c b/drivers/media/test-drivers/vimc/vimc-core.c
index 2ae7a0f11ebf..e82cfa5ffbf4 100644
--- a/drivers/media/test-drivers/vimc/vimc-core.c
+++ b/drivers/media/test-drivers/vimc/vimc-core.c
@@ -433,7 +433,7 @@ static int __init vimc_init(void)
if (ret) {
dev_err(&vimc_pdev.dev,
"platform driver registration failed (err=%d)\n", ret);
- platform_driver_unregister(&vimc_pdrv);
+ platform_device_unregister(&vimc_pdev);
return ret;
}