mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
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 <abavanar@codeaurora.org>
This commit is contained in:
parent
b809b3b9d7
commit
6348e87415
1 changed files with 8 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue