]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
OMAPDSS: hdmi4_core: Remove unused hdmi4_audio_get_dma_port()
authorJyri Sarha <jsarha@ti.com>
Fri, 22 Aug 2014 17:26:00 +0000 (20:26 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 26 Nov 2014 08:41:07 +0000 (10:41 +0200)
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>
drivers/video/fbdev/omap2/dss/hdmi4_core.c
drivers/video/fbdev/omap2/dss/hdmi4_core.h

index 3b448d9ecd313b8d040a42cfe6181bda26165d37..7eafea5b8e190c15f03a51e12ca28ad830acc647 100644 (file)
@@ -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;
index c1959f7df7dfb4896a6aaf4f0514e20e099674af..a069f96ec6f66b08f8a2c8e95e9151650a80e04f 100644 (file)
@@ -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