mirror of
https://github.com/armbian/build.git
synced 2025-08-12 14:16:57 +02:00
* sunxi-5.19: Initial state for megous patches * Add the ability to do 5.19 * Move to 5.19 - tested both - removed broken Opi Zero xradio driver https://armbian.atlassian.net/browse/AR-1280 * sunxi-5.19: fix tag for switch * sunxi-5.19: Initial state for armbian patches * sunxi-5.19: Add armbian patches to series.conf file * sanxi-5.19: Add other 2 patches * sunxi-5.19: Limit to use the 'wireless/xradio' module Limit the kernel version to less than 5.19 to use the 'wireless/xradio' module Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
28 lines
837 B
Diff
28 lines
837 B
Diff
From c7bf0d55cfc3115395b1798782fe11fef7d27dcb Mon Sep 17 00:00:00 2001
|
|
From: Samuel Holland <samuel@sholland.org>
|
|
Date: Sun, 5 Apr 2020 21:16:40 -0500
|
|
Subject: [PATCH 175/417] media: cedrus: Fix missing cleanup in error path
|
|
|
|
Signed-off-by: Samuel Holland <samuel@sholland.org>
|
|
---
|
|
drivers/staging/media/sunxi/cedrus/cedrus.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/drivers/staging/media/sunxi/cedrus/cedrus.c b/drivers/staging/media/sunxi/cedrus/cedrus.c
|
|
index 68b3dcdb5..1b2bbea48 100644
|
|
--- a/drivers/staging/media/sunxi/cedrus/cedrus.c
|
|
+++ b/drivers/staging/media/sunxi/cedrus/cedrus.c
|
|
@@ -354,7 +354,9 @@ static int cedrus_open(struct file *file)
|
|
|
|
err_ctrls:
|
|
v4l2_ctrl_handler_free(&ctx->hdl);
|
|
+ kfree(ctx->ctrls);
|
|
err_free:
|
|
+ v4l2_fh_exit(&ctx->fh);
|
|
kfree(ctx);
|
|
mutex_unlock(&dev->dev_mutex);
|
|
|
|
--
|
|
2.35.3
|
|
|