Home
last modified time | relevance | path

Searched refs:dsp_msg (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/sound/soc/codecs/aw883xx/
H A Daw_spin.c155 int32_t *dsp_msg = NULL; in aw_mtk_set_mixer_en() local
159 dsp_msg = kzalloc(sizeof(struct aw_msg_hdr) + sizeof(int32_t), GFP_KERNEL); in aw_mtk_set_mixer_en()
160 if (!dsp_msg) { in aw_mtk_set_mixer_en()
164 hdr = (struct aw_msg_hdr *)dsp_msg; in aw_mtk_set_mixer_en()
169 memcpy(((char *)dsp_msg) + sizeof(struct aw_msg_hdr), in aw_mtk_set_mixer_en()
172 ret = aw_mtk_write_data_to_dsp(msg_id, (void *)dsp_msg, in aw_mtk_set_mixer_en()
176 kfree(dsp_msg); in aw_mtk_set_mixer_en()
177 dsp_msg = NULL; in aw_mtk_set_mixer_en()
181 kfree(dsp_msg); in aw_mtk_set_mixer_en()
182 dsp_msg = NULL; in aw_mtk_set_mixer_en()
[all …]