asoc: change log mss level from pr_err to pr_debug
Change log level to pr_debug to avoid spurious log prints in kernel messages. Change-Id: I4ddacad8a5b2a143d3e46e683e3374f0449c05f6 Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
This commit is contained in:
@@ -77,7 +77,7 @@ static ssize_t aud_dev_sysfs_store(struct kobject *kobj,
|
|||||||
pr_err("%s: invalid state %d \n", __func__, state);
|
pr_err("%s: invalid state %d \n", __func__, state);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
pr_info("%s: pcm_id %d state %d \n", __func__, pcm_id, state);
|
pr_debug("%s: pcm_id %d state %d \n", __func__, pcm_id, state);
|
||||||
|
|
||||||
pdata->aud_dev_state[pcm_id] = state;
|
pdata->aud_dev_state[pcm_id] = state;
|
||||||
if ( state == DEVICE_ENABLE && (pdata->dsp_sessions_closed != 0))
|
if ( state == DEVICE_ENABLE && (pdata->dsp_sessions_closed != 0))
|
||||||
@@ -160,7 +160,7 @@ static int get_intf_index(const char *stream_name)
|
|||||||
else if (strnstr(stream_name, "SENARY", strlen(stream_name)))
|
else if (strnstr(stream_name, "SENARY", strlen(stream_name)))
|
||||||
return SEN_MI2S_TDM_AUXPCM;
|
return SEN_MI2S_TDM_AUXPCM;
|
||||||
else {
|
else {
|
||||||
pr_err("%s: stream name %s does not match\n", __func__, stream_name);
|
pr_debug("%s: stream name %s does not match\n", __func__, stream_name);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user