mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Add kernel 5.15 for RPI4 support
This commit is contained in:
parent
e961d478cd
commit
df88a19bbd
638 changed files with 239907 additions and 0 deletions
|
|
@ -0,0 +1,31 @@
|
|||
From 676e10614333c9952c87cbdb98e798b7a13c1aef Mon Sep 17 00:00:00 2001
|
||||
From: Dom Cobley <popcornmix@gmail.com>
|
||||
Date: Tue, 20 Apr 2021 13:34:18 +0100
|
||||
Subject: [PATCH 398/634] rpivid: Only clk_request_done once
|
||||
|
||||
Fixes: 25486f49bfe2e3ae13b90478d1eebd91413136ad
|
||||
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
|
||||
---
|
||||
drivers/staging/media/rpivid/rpivid_video.c | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/staging/media/rpivid/rpivid_video.c b/drivers/staging/media/rpivid/rpivid_video.c
|
||||
index def891a86e55..37c8f62649d6 100644
|
||||
--- a/drivers/staging/media/rpivid/rpivid_video.c
|
||||
+++ b/drivers/staging/media/rpivid/rpivid_video.c
|
||||
@@ -526,7 +526,11 @@ static void rpivid_stop_streaming(struct vb2_queue *vq)
|
||||
|
||||
rpivid_queue_cleanup(vq, VB2_BUF_STATE_ERROR);
|
||||
|
||||
- clk_request_done(dev->hevc_req);
|
||||
+ if (dev->hevc_req)
|
||||
+ {
|
||||
+ clk_request_done(dev->hevc_req);
|
||||
+ dev->hevc_req = NULL;
|
||||
+ }
|
||||
clk_disable_unprepare(dev->clock);
|
||||
}
|
||||
|
||||
--
|
||||
2.33.1
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue