mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
video: rockchip: hdmi: add snd_config_hdmi_audio helper function
Change-Id: Id2a22a442a0c261c5690c103a8f5a9fb99795df5 Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#ifdef CONFIG_SWITCH
|
||||
#include <linux/switch.h>
|
||||
#endif
|
||||
#include <sound/pcm_params.h>
|
||||
|
||||
#define HDMI_VIDEO_NORMAL 0
|
||||
#define HDMI_VIDEO_DMT BIT(9)
|
||||
@@ -526,4 +527,5 @@ const struct fb_videomode *hdmi_vic_to_videomode(int vic);
|
||||
const struct hdmi_video_timing *hdmi_vic2timing(int vic);
|
||||
int hdmi_config_audio(struct hdmi_audio *audio);
|
||||
int hdmi_get_hotplug(void);
|
||||
int snd_config_hdmi_audio(struct snd_pcm_hw_params *params);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user