Merge "dsp: Make error as debug log when CPU buffer not available"

This commit is contained in:
qctecmdr 2020-03-25 09:38:23 -07:00 • committed by Gerrit - the friendly Code Review server
commit 3efc2c5808

View file

@ -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;