[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250306080533.294964-3-dmitry.osipenko@collabora.com>
Date: Thu, 6 Mar 2025 11:05:32 +0300
From: Dmitry Osipenko <dmitry.osipenko@...labora.com>
To: Shreeya Patel <shreeya.patel@...labora.com>,
Heiko Stuebner <heiko@...ech.de>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Hans Verkuil <hverkuil@...all.nl>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
jose.abreu@...opsys.com,
nelson.costa@...opsys.com,
shawn.wen@...k-chips.com,
nicolas.dufresne@...labora.com,
Sebastian Reichel <sebastian.reichel@...labora.com>
Cc: kernel@...labora.com,
linux-media@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-rockchip@...ts.infradead.org
Subject: [PATCH v1 2/3] media: platform: synopsys: hdmirx: Remove unused HDMI audio CODEC relics
HDMI audio CODEC is unsupported in the current version of the driver.
Support may come later. Remove HDMI CODEC bits that were left out
by accident to keep code consistent.
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@...labora.com>
---
drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c b/drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c
index f161fd6712b6..981ab96cda3c 100644
--- a/drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c
+++ b/drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c
@@ -40,8 +40,6 @@
#include <media/videobuf2-dma-contig.h>
#include <media/videobuf2-v4l2.h>
-#include <sound/hdmi-codec.h>
-
#include "snps_hdmirx.h"
#include "snps_hdmirx_cec.h"
@@ -122,7 +120,6 @@ struct hdmirx_stream {
struct snps_hdmirx_dev {
struct device *dev;
- struct device *codec_dev;
struct hdmirx_stream stream;
struct v4l2_device v4l2_dev;
struct v4l2_ctrl_handler hdl;
@@ -158,7 +155,6 @@ struct snps_hdmirx_dev {
u32 cur_fmt_fourcc;
u32 color_depth;
u8 edid[EDID_NUM_BLOCKS_MAX * EDID_BLOCK_SIZE];
- hdmi_codec_plugged_cb plugged_cb;
spinlock_t rst_lock; /* to lock register access */
};
--
2.48.1
Powered by blists - more mailing lists