mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
dsp: Make error as debug log when CPU buffer not available
When CPU buffer is not available, continuous error log prints leads to excessive logging. Make the error as debug log to avoid this. Change-Id: Ic26006b4975fbe3d5467203d145a517c0067c296 Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
This commit is contained in:
parent
68f58b0d09
commit
3ac8fc2bff
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
|
||||
* Author: Brian Swetland <swetland@google.com>
|
||||
*
|
||||
* This software is licensed under the terms of the GNU General Public
|
||||
|
|
@ -2552,7 +2552,7 @@ void *q6asm_is_cpu_buf_avail(int dir, struct audio_client *ac, uint32_t *size,
|
|||
/* To make it more robust, we could loop and get the
|
||||
* next avail buf, its risky though
|
||||
*/
|
||||
pr_err("%s: Next buf idx[0x%x] not available, dir[%d]\n",
|
||||
pr_debug("%s: Next buf idx[0x%x] not available, dir[%d]\n",
|
||||
__func__, idx, dir);
|
||||
mutex_unlock(&port->lock);
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue