[PATCH v3 9/9] media: uapi: it6625: remove the driver-specific audio controls
From: Hermes Wu via B4 Relay
Date: Tue Dec 01 2026 - 22:19:40 EST
From: Hermes Wu <Hermes.wu@xxxxxxxxxx>
V4L2_CID_IT6625_AUDIO_SAMPLING_RATE and V4L2_CID_IT6625_AUDIO_PRESENT
have been replaced by the standard V4L2_CID_DV_RX_AUDIO_SAMPLING_RATE
and V4L2_CID_DV_RX_AUDIO_PRESENT controls, and the driver no longer uses
them. They came with the driver in v7.4, so removing them breaks the
uAPI. This is accepted here: the impact is expected to be very small.
Remove the uAPI header and the V4L2_CID_USER_IT6625_BASE reservation.
Signed-off-by: Hermes Wu <Hermes.wu@xxxxxxxxxx>
---
MAINTAINERS | 1 -
drivers/media/i2c/it6625.c | 1 -
include/uapi/linux/it6625.h | 25 -------------------------
include/uapi/linux/v4l2-controls.h | 6 ------
4 files changed, 33 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 70b6a8d49c01f5b1b3a3ea41b6c0ef8769e6c46d..e65cf50536ae4046debf5145dab21df4891ed63e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -14272,7 +14272,6 @@ S: Maintained
T: git git://linuxtv.org/media.git
F: Documentation/devicetree/bindings/media/i2c/ite,it6625.yaml
F: drivers/media/i2c/it6625.c
-F: include/uapi/linux/it6625.h
IVTV VIDEO4LINUX DRIVER
M: Andy Walls <awalls@xxxxxxxxxxxxxxxx>
diff --git a/drivers/media/i2c/it6625.c b/drivers/media/i2c/it6625.c
index 3e63eb2054c5f6c5f133a4656acf3481390c03d1..76d80bc72d9a6aea40615ee8391481a4109393b5 100644
--- a/drivers/media/i2c/it6625.c
+++ b/drivers/media/i2c/it6625.c
@@ -33,7 +33,6 @@
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
-#include <uapi/linux/it6625.h>
static int debug;
module_param(debug, int, 0644);
diff --git a/include/uapi/linux/it6625.h b/include/uapi/linux/it6625.h
deleted file mode 100644
index a895658aaf6a80d3fb624cdece33c5135161c72d..0000000000000000000000000000000000000000
--- a/include/uapi/linux/it6625.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
-/*
- * Controls header for IT6625/IT6626 driver
- */
-
-#ifndef _UAPI_LINUX_IT6625_H
-#define _UAPI_LINUX_IT6625_H
-
-#include <linux/v4l2-controls.h>
-
-/*
- * Currently detected HDMI audio sampling rate, in Hz. Read-only.
- * 0 means the rate is unavailable/unknown: no audio is currently
- * present on the input, the hardware reported a sample-rate id this
- * driver doesn't recognize, or the status read itself failed. Never a
- * literal 0 Hz sample rate.
- */
-#define V4L2_CID_IT6625_AUDIO_SAMPLING_RATE (V4L2_CID_USER_IT6625_BASE + 0)
-
-/*
- * Whether HDMI audio is currently present on the input. Read-only.
- */
-#define V4L2_CID_IT6625_AUDIO_PRESENT (V4L2_CID_USER_IT6625_BASE + 1)
-
-#endif /* _UAPI_LINUX_IT6625_H */
diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h
index 942a1df3057e3e49c9111f6a27ec1883d964bf64..a2d4ea909e01f9b705d30b680ef382f5fcd39714 100644
--- a/include/uapi/linux/v4l2-controls.h
+++ b/include/uapi/linux/v4l2-controls.h
@@ -249,12 +249,6 @@ enum v4l2_colorfx {
*/
#define V4L2_CID_USER_DCMIPP_BASE (V4L2_CID_USER_BASE + 0x1240)
-/*
- * The base for IT6625/IT6626 driver controls.
- * We reserve 16 controls for this driver.
- */
-#define V4L2_CID_USER_IT6625_BASE (V4L2_CID_USER_BASE + 0x1250)
-
/* MPEG-class control IDs */
/* The MPEG controls are applicable to all codec controls
* and the 'MPEG' part of the define is historical */
--
2.34.1