Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jyri Sarha and committed by
Tomi Valkeinen
a42808c7 12d3ea9a

-11
-9
drivers/video/fbdev/omap2/dss/hdmi4_core.c
··· 874 874 hdmi_wp_audio_core_req_enable(wp, false); 875 875 } 876 876 877 - int hdmi4_audio_get_dma_port(u32 *offset, u32 *size) 878 - { 879 - if (!offset || !size) 880 - return -EINVAL; 881 - *offset = HDMI_WP_AUDIO_DATA; 882 - *size = 4; 883 - return 0; 884 - } 885 - 886 877 int hdmi4_core_init(struct platform_device *pdev, struct hdmi_core_data *core) 887 878 { 888 879 struct resource *res;
-2
drivers/video/fbdev/omap2/dss/hdmi4_core.h
··· 270 270 void hdmi4_audio_stop(struct hdmi_core_data *core, struct hdmi_wp_data *wp); 271 271 int hdmi4_audio_config(struct hdmi_core_data *core, struct hdmi_wp_data *wp, 272 272 struct omap_dss_audio *audio, u32 pclk); 273 - int hdmi4_audio_get_dma_port(u32 *offset, u32 *size); 274 - 275 273 #endif