Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5a7555d authored by Manish Dewangan's avatar Manish Dewangan Committed by Gerrit - the friendly Code Review server
Browse files

qdspv2: Add latency calculation support in pcm offload path



Update cold and continuous latency debug fs entries for offload
path to support latency calculation for pcm offload path.

CRs-Fixed: 2059729
Change-Id: Ic59c7b2fec76e682837c89926595fb3262d01aa8
Signed-off-by: default avatarManish Dewangan <manish@codeaurora.org>
parent f32e95c6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1952,13 +1952,13 @@ static int32_t q6asm_callback(struct apr_client_data *data, void *priv)
			port->buf[buf_index].used = 1;
			spin_unlock_irqrestore(&port->dsp_lock, dsp_flags);

			config_debug_fs_write_cb();

			for (i = 0; i < port->max_buf_cnt; i++)
				dev_vdbg(ac->dev, "%s %d\n",
					__func__, port->buf[i].used);

		}
		config_debug_fs_write_cb();
		break;
	}
	case ASM_STREAM_CMDRSP_GET_PP_PARAMS_V2:
@@ -7750,6 +7750,8 @@ int q6asm_async_write(struct audio_client *ac,
		}
	}

	config_debug_fs_write(ab);

	rc = apr_send_pkt(ac->apr, (uint32_t *) &write);
	if (rc < 0) {
		pr_err("%s: write op[0x%x]rc[%d]\n", __func__,