dsp: fix compilation issue in dynamic load/unload BT modules

Compilation issue addressed in failure case to load
num_modules.

Change-Id: Ieb923074a71f4ddc4c8da379b1169a06ce9267b6
This commit is contained in:
Harshal Ahire
2020-06-23 11:18:01 +05:30
committad av Gerrit - the friendly Code Review server
förälder 5d06056f5b
incheckning ed50512138
2 ändrade filer med 2 tillägg och 2 borttagningar

Visa fil

@@ -281,7 +281,7 @@ static int q6afe_load_avcs_modules(int num_modules, u16 port_id,
struct avcs_load_unload_modules_sec_payload sec_payload;
if (num_modules <= 0) {
pr_err("%s: Invalid number of modules to load\n");
pr_err("%s: Invalid number of modules to load\n", __func__);
return -EINVAL;
}

Visa fil

@@ -937,7 +937,7 @@ int32_t q6core_avcs_load_unload_modules(struct avcs_load_unload_modules_payload
int num_modules;
if (payload == NULL) {
pr_err("%s: payload is null\n");
pr_err("%s: payload is null\n", __func__);
return -EINVAL;
}