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>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
ee084a068e
commit
15c825d077
@@ -94,14 +94,14 @@ struct aqt_reg_mask_val {
|
||||
u8 val;
|
||||
};
|
||||
|
||||
extern void aqt_clsh_fsm(struct snd_soc_codec *codec,
|
||||
extern void aqt_clsh_fsm(struct snd_soc_component *component,
|
||||
struct aqt_clsh_cdc_data *cdc_clsh_d,
|
||||
u8 clsh_event, u8 req_state,
|
||||
int int_mode);
|
||||
|
||||
extern void aqt_clsh_init(struct aqt_clsh_cdc_data *clsh);
|
||||
extern int aqt_clsh_get_clsh_state(struct aqt_clsh_cdc_data *clsh);
|
||||
extern void aqt_clsh_imped_config(struct snd_soc_codec *codec, int imped,
|
||||
bool reset);
|
||||
extern void aqt_clsh_imped_config(struct snd_soc_component *component,
|
||||
int imped, bool reset);
|
||||
|
||||
#endif /* _AQT1000_CLSH_H */
|
||||
|
Reference in New Issue
Block a user