smart_amp_maxim_dsm: log warning for zero frame copy

Change to comp_warn() when zero fram is copied, which really requires
attention on.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
This commit is contained in:
Keyon Jie 2021-01-05 17:23:37 +08:00 committed by Liam Girdwood
parent 85fd815f86
commit d6b9f1f795
1 changed files with 2 additions and 2 deletions

View File

@ -689,7 +689,7 @@ int smart_amp_ff_copy(struct comp_dev *dev, uint32_t frames,
int ret; int ret;
if (frames == 0) { if (frames == 0) {
comp_dbg(dev, "[DSM] feed forward frame size zero warning."); comp_warn(dev, "[DSM] feed forward frame size zero warning.");
return 0; return 0;
} }
@ -749,7 +749,7 @@ int smart_amp_fb_copy(struct comp_dev *dev, uint32_t frames,
int ret; int ret;
if (frames == 0) { if (frames == 0) {
comp_dbg(dev, "[DSM] feedback frame size zero warning."); comp_warn(dev, "[DSM] feedback frame size zero warning.");
return 0; return 0;
} }