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

Commit acda7127 authored by Vidyakumar Athota's avatar Vidyakumar Athota
Browse files

ASoC: msm: qdspv2: Fix AFE Capture DAI registration



AFE Capture DAI is registered to wrong Q6 DAI dev node.
Fix by match machine driver AFE Capture DAI link stream
name with CPU DAI stream name.

Change-Id: I59685d2a14dca8d11892fb1aa9e56d464e0562ed
Signed-off-by: default avatarVidyakumar Athota <vathota@codeaurora.org>
parent 75bb475d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -2503,10 +2503,10 @@ register_afe_playback:
			__func__, stream_name);
		break;
	case RT_PROXY_DAI_001_TX:
		strlcpy(stream_name, "AFE Capture", 80);
		strlcpy(stream_name, "AFE-PROXY TX", 80);
		goto register_afe_capture;
	case RT_PROXY_DAI_002_TX:
		strlcpy(stream_name, "AFE-PROXY TX", 80);
		strlcpy(stream_name, "AFE Capture", 80);
register_afe_capture:
		rc = -ENODEV;
		len = strnlen(stream_name , 80);