]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: platform: synopsys: hdmirx: Remove unused HDMI audio CODEC relics
authorDmitry Osipenko <dmitry.osipenko@collabora.com>
Thu, 6 Mar 2025 08:05:32 +0000 (11:05 +0300)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 6 Mar 2025 16:28:31 +0000 (17:28 +0100)
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@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c

index f161fd6712b62c243213cfeabf5234bac896a922..981ab96cda3cc84598599a2b4129c899e2be8582 100644 (file)
@@ -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 */
 };