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

Commit 6348e874 authored by Aditya Bavanari's avatar Aditya Bavanari
Browse files

dsp: export adm_set_lsm_port_id for platform



For audio modules DLKM support, export the ADM API
to external modules.

CRs-Fixed: 2160337
Change-Id: Ieaf88b2c1d99f5fc42a7a3f1900887702323f18b
Signed-off-by: default avatarAditya Bavanari <abavanar@codeaurora.org>
parent b809b3b9
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2299,10 +2299,18 @@ static int get_cal_path(int path)
		return TX_DEVICE;
}

/*
 * Command to set LSM port ID
 * which is used to send LSM cal
 *
 * @port_id: Port ID number to be set
 *
 */
void adm_set_lsm_port_id(int port_id)
{
	this_adm.lsm_port_id = port_id;
}
EXPORT_SYMBOL(adm_set_lsm_port_id);

static void send_adm_cal(int port_id, int copp_idx, int path, int perf_mode,
			 int app_type, int acdb_id, int sample_rate)