mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
793f8ab62c
Add kernel patches for version 6.1. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
From e718fc8f42a900b7b07b806ddfdb8c2b7a1aa3b1 Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Fri, 10 Mar 2023 16:57:29 +0000
|
|
Subject: [PATCH] vc04_services: bcm2835_codec: Set MPEG2_LEVEL control
|
|
to READ_ONLY
|
|
|
|
V4L2_CID_MPEG_VIDEO_MPEG2_LEVEL was missed from
|
|
"vc04_services: bcm2835_codec: Ignore READ_ONLY ctrls in s_ctrl"
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
|
|
+++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
|
|
@@ -3246,6 +3246,7 @@ static void dec_add_profile_ctrls(struct
|
|
BIT(V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH_1440) |
|
|
BIT(V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH)),
|
|
V4L2_MPEG_VIDEO_MPEG2_LEVEL_MAIN);
|
|
+ ctrl->flags |= V4L2_CTRL_FLAG_READ_ONLY;
|
|
ctrl = v4l2_ctrl_new_std_menu(hdl, &bcm2835_codec_ctrl_ops,
|
|
V4L2_CID_MPEG_VIDEO_MPEG2_PROFILE,
|
|
V4L2_MPEG_VIDEO_MPEG2_PROFILE_MAIN,
|