From ce3c3a600a92ab0215ae2a24586faaecd3e1c8c6 Mon Sep 17 00:00:00 2001 From: Naresh Tanniru Date: Tue, 27 Sep 2016 18:56:31 +0530 Subject: ASoC: msm: qdsp6v2: support for configurable bit format for AFE encoder Add support for configurable bit width for AFE encoder. Add new mixer ctl to set for usecases which enables configuring different input/output bit format on AFE for usecases such as APTXHD encoder for 24bit input and 16bit output. Change-Id: I62326a097cbd71a3ec2b93a0120284d8f71f5d57 Signed-off-by: Naresh Tanniru --- include/sound/q6afe-v2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/sound/q6afe-v2.h b/include/sound/q6afe-v2.h index 9ed6510cd0e1..31f7c02b54b3 100644 --- a/include/sound/q6afe-v2.h +++ b/include/sound/q6afe-v2.h @@ -281,7 +281,7 @@ void afe_set_cal_mode(u16 port_id, enum afe_cal_mode afe_cal_mode); int afe_port_start(u16 port_id, union afe_port_config *afe_config, u32 rate); int afe_port_start_v2(u16 port_id, union afe_port_config *afe_config, - u32 rate, u16 afe_in_channels, + u32 rate, u16 afe_in_channels, u16 afe_in_bit_width, struct afe_enc_config *enc_config); int afe_spk_prot_feed_back_cfg(int src_port, int dst_port, int l_ch, int r_ch, u32 enable); -- cgit v1.2.3