From 6348e874156acbd638f8ca2a420f35c884bf8d2b Mon Sep 17 00:00:00 2001 From: Aditya Bavanari Date: Mon, 18 Dec 2017 11:53:22 +0530 Subject: [PATCH] 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: Aditya Bavanari --- dsp/q6adm.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dsp/q6adm.c b/dsp/q6adm.c index 403d70dbc98b..514af254db99 100644 --- a/dsp/q6adm.c +++ b/dsp/q6adm.c @@ -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)