mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-22 04:56:15 +00:00
0171157d45
The patches were generated from the RPi repo with the following command: git format-patch v6.6.44..rpi-6.6.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
From b58aeea7e2e3afd4fb3b6dcbe5e382b2244b33a4 Mon Sep 17 00:00:00 2001
|
|
From: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
|
|
Date: Thu, 27 Jun 2024 13:40:29 +0200
|
|
Subject: [PATCH 1155/1215] media: uapi: pisp_be_config: Drop BIT() from uAPI
|
|
|
|
The pisp_be_config.h uAPI header file contains a bit-field definition
|
|
that uses the BIT() helper macro.
|
|
|
|
As the BIT() identifier is not defined in userspace, drop it from the
|
|
uAPI header.
|
|
|
|
Fixes: c6c49bac8770 ("media: uapi: Add Raspberry Pi PiSP Back End uAPI")
|
|
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
|
|
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
|
|
---
|
|
include/uapi/linux/media/raspberrypi/pisp_be_config.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/include/uapi/linux/media/raspberrypi/pisp_be_config.h
|
|
+++ b/include/uapi/linux/media/raspberrypi/pisp_be_config.h
|
|
@@ -146,7 +146,7 @@ struct pisp_be_dpc_config {
|
|
*/
|
|
struct pisp_be_geq_config {
|
|
__u16 offset;
|
|
-#define PISP_BE_GEQ_SHARPER BIT(15)
|
|
+#define PISP_BE_GEQ_SHARPER (1U << 15)
|
|
#define PISP_BE_GEQ_SLOPE ((1 << 10) - 1)
|
|
/* top bit is the "sharper" flag, slope value is bottom 10 bits */
|
|
__u16 slope_sharper;
|