Loading dsp/q6asm.c +5 −5 Original line number Diff line number Diff line Loading @@ -576,7 +576,7 @@ static bool q6asm_is_valid_audio_client(struct audio_client *ac) static void q6asm_session_free(struct audio_client *ac) { int session_id; unsigned long flags; unsigned long flags = 0; pr_debug("%s: sessionid[%d]\n", __func__, ac->session); session_id = ac->session; Loading Loading @@ -1639,7 +1639,7 @@ static int32_t q6asm_srvc_callback(struct apr_client_data *data, void *priv) uint32_t dir = 0; uint32_t i = IN; uint32_t *payload; unsigned long dsp_flags; unsigned long dsp_flags = 0; unsigned long flags = 0; struct asm_buffer_node *buf_node = NULL; struct list_head *ptr, *next; Loading Loading @@ -1856,7 +1856,7 @@ static int32_t q6asm_callback(struct apr_client_data *data, void *priv) { int i = 0; struct audio_client *ac = (struct audio_client *)priv; unsigned long dsp_flags; unsigned long dsp_flags = 0; uint32_t *payload; uint32_t wakeup_flag = 1; int32_t ret = 0; Loading @@ -1864,7 +1864,7 @@ static int32_t q6asm_callback(struct apr_client_data *data, void *priv) uint8_t buf_index; struct msm_adsp_event_data *pp_event_package = NULL; uint32_t payload_size = 0; unsigned long flags; unsigned long flags = 0; int session_id; if (ac == NULL) { Loading Loading @@ -2549,7 +2549,7 @@ int q6asm_is_dsp_buf_avail(int dir, struct audio_client *ac) static void __q6asm_add_hdr(struct audio_client *ac, struct apr_hdr *hdr, uint32_t pkt_size, uint32_t cmd_flg, uint32_t stream_id) { unsigned long flags; unsigned long flags = 0; dev_vdbg(ac->dev, "%s: pkt_size=%d cmd_flg=%d session=%d stream_id=%d\n", __func__, pkt_size, cmd_flg, ac->session, stream_id); Loading Loading
dsp/q6asm.c +5 −5 Original line number Diff line number Diff line Loading @@ -576,7 +576,7 @@ static bool q6asm_is_valid_audio_client(struct audio_client *ac) static void q6asm_session_free(struct audio_client *ac) { int session_id; unsigned long flags; unsigned long flags = 0; pr_debug("%s: sessionid[%d]\n", __func__, ac->session); session_id = ac->session; Loading Loading @@ -1639,7 +1639,7 @@ static int32_t q6asm_srvc_callback(struct apr_client_data *data, void *priv) uint32_t dir = 0; uint32_t i = IN; uint32_t *payload; unsigned long dsp_flags; unsigned long dsp_flags = 0; unsigned long flags = 0; struct asm_buffer_node *buf_node = NULL; struct list_head *ptr, *next; Loading Loading @@ -1856,7 +1856,7 @@ static int32_t q6asm_callback(struct apr_client_data *data, void *priv) { int i = 0; struct audio_client *ac = (struct audio_client *)priv; unsigned long dsp_flags; unsigned long dsp_flags = 0; uint32_t *payload; uint32_t wakeup_flag = 1; int32_t ret = 0; Loading @@ -1864,7 +1864,7 @@ static int32_t q6asm_callback(struct apr_client_data *data, void *priv) uint8_t buf_index; struct msm_adsp_event_data *pp_event_package = NULL; uint32_t payload_size = 0; unsigned long flags; unsigned long flags = 0; int session_id; if (ac == NULL) { Loading Loading @@ -2549,7 +2549,7 @@ int q6asm_is_dsp_buf_avail(int dir, struct audio_client *ac) static void __q6asm_add_hdr(struct audio_client *ac, struct apr_hdr *hdr, uint32_t pkt_size, uint32_t cmd_flg, uint32_t stream_id) { unsigned long flags; unsigned long flags = 0; dev_vdbg(ac->dev, "%s: pkt_size=%d cmd_flg=%d session=%d stream_id=%d\n", __func__, pkt_size, cmd_flg, ac->session, stream_id); Loading