Change-Id: Id2a22a442a0c261c5690c103a8f5a9fb99795df5
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
#ifdef CONFIG_SWITCH
#include <linux/switch.h>
#endif
#ifdef CONFIG_SWITCH
#include <linux/switch.h>
#endif
+#include <sound/pcm_params.h>
#define HDMI_VIDEO_NORMAL 0
#define HDMI_VIDEO_DMT BIT(9)
#define HDMI_VIDEO_NORMAL 0
#define HDMI_VIDEO_DMT BIT(9)
const struct hdmi_video_timing *hdmi_vic2timing(int vic);
int hdmi_config_audio(struct hdmi_audio *audio);
int hdmi_get_hotplug(void);
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);