From e819d7d240a30c3fd32d9e4474207c879c285bea Mon Sep 17 00:00:00 2001 From: Yunxian He Date: Fri, 11 Nov 2022 14:59:44 +0800 Subject: [PATCH] update btfm enable ch delay when freq 48000 ch 0 main changes: btfm_slim.c Change-Id: I6c38d3956da85b13a8946cb5db7bad312320bba5 Signed-off-by: Yunxian He Reviewed-on: https://gerrit.mot.com/2427412 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- drivers/bluetooth/btfm_slim.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/bluetooth/btfm_slim.c b/drivers/bluetooth/btfm_slim.c index 46202a5ef1c0..086f20699c27 100644 --- a/drivers/bluetooth/btfm_slim.c +++ b/drivers/bluetooth/btfm_slim.c @@ -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)) {