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

Commit 732d9e0c authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: Add place markers to machine driver"

parents 0cd68d99 628c9959
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@
#include <dsp/audio_notifier.h>
#include <dsp/q6afe-v2.h>
#include <dsp/q6core.h>
#include <soc/qcom/boot_stats.h>
#include "device_event.h"
#include "msm-pcm-routing-v2.h"

@@ -7489,7 +7490,12 @@ static int msm_asoc_machine_probe(struct platform_device *pdev)
	struct msm_asoc_mach_data *pdata;
	int ret;
	enum apr_subsys_state q6_state;
	static int first_probe = 1;

	if (first_probe) {
		place_marker("M - DRIVER Audio Init");
		first_probe = 0;
	}
	if (!pdev->dev.of_node) {
		dev_err(&pdev->dev, "No platform supplied from device tree\n");
		return -EINVAL;
@@ -7568,6 +7574,7 @@ static int msm_asoc_machine_probe(struct platform_device *pdev)
		pr_err("%s: Registration with SND event FWK failed ret = %d\n",
			__func__, ret);

	place_marker("M - DRIVER Audio Ready");
	return 0;
err:
	msm_release_pinctrl(pdev);