mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
Merge "dsp: lsm: remove the size checking for sound model"
This commit is contained in:
commit
42ba68d4d2
1 changed files with 1 additions and 2 deletions
|
|
@ -28,7 +28,6 @@
|
|||
#include "adsp_err.h"
|
||||
|
||||
#define APR_TIMEOUT (HZ)
|
||||
#define LSM_ALIGN_BOUNDARY 512
|
||||
#define LSM_SAMPLE_RATE 16000
|
||||
#define QLSM_PARAM_ID_MINOR_VERSION 1
|
||||
#define QLSM_PARAM_ID_MINOR_VERSION_2 2
|
||||
|
|
@ -1973,7 +1972,7 @@ int q6lsm_snd_model_buf_alloc(struct lsm_client *client, size_t len,
|
|||
size_t total_mem = 0;
|
||||
struct lsm_sound_model *sm = NULL;
|
||||
|
||||
if (!client || len <= LSM_ALIGN_BOUNDARY)
|
||||
if (!client)
|
||||
return rc;
|
||||
|
||||
pr_debug("%s:Snd Model len = %zd, stage idx %d\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue