Skip to content

Commit 0e5bc48

Browse files
digetxhverkuil
authored andcommitted
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@collabora.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
1 parent 4a0f443 commit 0e5bc48

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040
#include <media/videobuf2-dma-contig.h>
4141
#include <media/videobuf2-v4l2.h>
4242

43-
#include <sound/hdmi-codec.h>
44-
4543
#include "snps_hdmirx.h"
4644
#include "snps_hdmirx_cec.h"
4745

@@ -122,7 +120,6 @@ struct hdmirx_stream {
122120

123121
struct snps_hdmirx_dev {
124122
struct device *dev;
125-
struct device *codec_dev;
126123
struct hdmirx_stream stream;
127124
struct v4l2_device v4l2_dev;
128125
struct v4l2_ctrl_handler hdl;
@@ -158,7 +155,6 @@ struct snps_hdmirx_dev {
158155
u32 cur_fmt_fourcc;
159156
u32 color_depth;
160157
u8 edid[EDID_NUM_BLOCKS_MAX * EDID_BLOCK_SIZE];
161-
hdmi_codec_plugged_cb plugged_cb;
162158
spinlock_t rst_lock; /* to lock register access */
163159
};
164160

0 commit comments

Comments
 (0)