Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed505121 authored by Harshal Ahire's avatar Harshal Ahire Committed by Gerrit - the friendly Code Review server
Browse files

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

Compilation issue addressed in failure case to load
num_modules.

Change-Id: Ieb923074a71f4ddc4c8da379b1169a06ce9267b6
parent 5d06056f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}

+1 −1
Original line number Diff line number Diff line
@@ -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;
	}