1 #ifndef __SND_SOC_CODEC_RT5512_H
2 #define __SND_SOC_CODEC_RT5512_H
4 #define RT5512_CODEC_NAME "rt5512-codec"
5 #define RT5512_DRV_VER "1.0.1_G"
7 #define RT5512_CLK_DIV_ID 1
11 struct rt5512_codec_chip
14 struct i2c_client *client;
15 struct snd_soc_jack *rt_jack;
16 enum snd_soc_control_type control_type;
44 #define RT_DBG(format, args...) pr_info("%s:%s() line-%d: " format, RT5512_CODEC_NAME, __FUNCTION__, __LINE__, ##args)
46 #define RT_DBG(format, args...)
49 #endif /* #ifndef __SND_SOC_CODEC_RT5512_H */