update btfm enable ch delay when freq 48000 ch 0

main changes:
btfm_slim.c

Change-Id: I6c38d3956da85b13a8946cb5db7bad312320bba5
Signed-off-by: Yunxian He <heyx6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2427412
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Yunxian He 2022-11-11 14:59:44 +08:00 • committed by Xiaojun Ji
commit e819d7d240

View file

@ -145,7 +145,7 @@ int btfm_slim_enable_ch(struct btfmslim *btfmslim, struct btfmslim_ch *ch,
if (!btfmslim || !ch)
return -EINVAL;
BTFMSLIM_DBG("port: %d ch: %d", ch->port, ch->ch);
BTFMSLIM_INFO("port: %d ch: %d rxport: %d", ch->port, ch->ch, rxport);
/* Define the channel with below parameters */
prop.prot = ((rates == 44100) || (rates == 88200)) ?
@ -162,6 +162,7 @@ int btfm_slim_enable_ch(struct btfmslim *btfmslim, struct btfmslim_ch *ch,
* 2. 44.1k, 88.2k rxports
*/
if (((rates == 8000 && btfm_feedback_ch_setting && rxport == 0) ||
(rates == 48000 && rxport == 0) ||
(rxport == 1 && (rates == 44100 || rates == 88200))) &&
btfm_slim_is_sb_reset_needed(chipset_ver)) {