Przeglądaj źródła

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 <[email protected]>
Aditya Bavanari 7 lat temu
rodzic
commit
6348e87415
1 zmienionych plików z 8 dodań i 0 usunięć
  1. 8 0
      dsp/q6adm.c

+ 8 - 0
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)