asoc: msm-lsm-client: fix error logging for set session data failure

Error logging from set session data is not reflecting actual reason of failure.
Update error logging for this failure with correct info.

Change-Id: I5009a8b17128f0093e16f75c0e212a9bfb1f1a2e
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
This commit is contained in:
Dhananjay Kumar
2019-01-18 17:22:04 +05:30
کامیت شده توسط Meng Wang
والد 5bb681434b
کامیت 1bf124f9d9

مشاهده پرونده

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
* Copyright (c) 2013-2019, The Linux Foundation. All rights reserved.
*/
#include <linux/init.h>
#include <linux/err.h>
@@ -1050,7 +1050,7 @@ static int msm_lsm_ioctl_shared(struct snd_pcm_substream *substream,
if (ses_data_v2.app_id != LSM_VOICE_WAKEUP_APP_ID_V2) {
dev_err(rtd->dev,
"%s:Invalid App id %d for Listen client\n",
__func__, session_data.app_id);
__func__, ses_data_v2.app_id);
rc = -EINVAL;
break;
}