summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJyri Sarha2014-08-22 19:26:00 +0200
committerTomi Valkeinen2014-11-26 09:41:07 +0100
commita42808c7470a4e45f640138dad8effa272de27c1 (patch)
tree4b13af98b78f0d0baa4d5c26f6dfcf0b066c57ba
parentOMAPDSS: hdmi: Remove most of OMAP[45]_DSS_HDMI_AUDIO ifdefs (diff)
downloadkernel-qcow2-linux-a42808c7470a4e45f640138dad8effa272de27c1.tar.gz
kernel-qcow2-linux-a42808c7470a4e45f640138dad8effa272de27c1.tar.xz
kernel-qcow2-linux-a42808c7470a4e45f640138dad8effa272de27c1.zip
OMAPDSS: hdmi4_core: Remove unused hdmi4_audio_get_dma_port()
hdmi4_audio_get_dma_port() is unused and and broken. Signed-off-by: Jyri Sarha <jsarha@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r--drivers/video/fbdev/omap2/dss/hdmi4_core.c9
-rw-r--r--drivers/video/fbdev/omap2/dss/hdmi4_core.h2
2 files changed, 0 insertions, 11 deletions
diff --git a/drivers/video/fbdev/omap2/dss/hdmi4_core.c b/drivers/video/fbdev/omap2/dss/hdmi4_core.c
index 3b448d9ecd31..7eafea5b8e19 100644
--- a/drivers/video/fbdev/omap2/dss/hdmi4_core.c
+++ b/drivers/video/fbdev/omap2/dss/hdmi4_core.c
@@ -874,15 +874,6 @@ void hdmi4_audio_stop(struct hdmi_core_data *core, struct hdmi_wp_data *wp)
hdmi_wp_audio_core_req_enable(wp, false);
}
-int hdmi4_audio_get_dma_port(u32 *offset, u32 *size)
-{
- if (!offset || !size)
- return -EINVAL;
- *offset = HDMI_WP_AUDIO_DATA;
- *size = 4;
- return 0;
-}
-
int hdmi4_core_init(struct platform_device *pdev, struct hdmi_core_data *core)
{
struct resource *res;
diff --git a/drivers/video/fbdev/omap2/dss/hdmi4_core.h b/drivers/video/fbdev/omap2/dss/hdmi4_core.h
index c1959f7df7df..a069f96ec6f6 100644
--- a/drivers/video/fbdev/omap2/dss/hdmi4_core.h
+++ b/drivers/video/fbdev/omap2/dss/hdmi4_core.h
@@ -270,6 +270,4 @@ int hdmi4_audio_start(struct hdmi_core_data *core, struct hdmi_wp_data *wp);
void hdmi4_audio_stop(struct hdmi_core_data *core, struct hdmi_wp_data *wp);
int hdmi4_audio_config(struct hdmi_core_data *core, struct hdmi_wp_data *wp,
struct omap_dss_audio *audio, u32 pclk);
-int hdmi4_audio_get_dma_port(u32 *offset, u32 *size);
-
#endif