ASoC: codec: Update codec driver to component driver
Some alsa API are removed in kernel-4.19 which would cause codec driver compile failure. Update codec driver to fix it. Change-Id: Ie358ec1863082166958059c179300b453d2a03ad Signed-off-by: Meng Wang <mengw@codeaurora.org>
此提交包含在:

提交者
Gerrit - the friendly Code Review server

父節點
ee084a068e
當前提交
15c825d077
@@ -10,11 +10,12 @@
|
||||
#include <linux/of_device.h>
|
||||
#include <sound/soc.h>
|
||||
|
||||
extern int aqt_mbhc_micb_adjust_voltage(struct snd_soc_codec *codec,
|
||||
extern int aqt_mbhc_micb_adjust_voltage(struct snd_soc_component *component,
|
||||
int volt, int micb_num);
|
||||
extern int aqt_cdc_mclk_enable(struct snd_soc_codec *codec, bool enable);
|
||||
extern int aqt_cdc_mclk_enable(struct snd_soc_component *component,
|
||||
bool enable);
|
||||
extern int aqt_get_micb_vout_ctl_val(u32 micb_mv);
|
||||
extern int aqt_micbias_control(struct snd_soc_codec *codec, int micb_num,
|
||||
int req, bool is_dapm);
|
||||
extern int aqt_micbias_control(struct snd_soc_component *component,
|
||||
int micb_num, int req, bool is_dapm);
|
||||
|
||||
#endif /* AQT1000_API_H */
|
||||
|
新增問題並參考
封鎖使用者