btfm: Enable multichannel bit for SCO Rx
Enable multichannel bit for SCO Rx to fix random 0 bytes insertion in SCO. CRs-Fixed: 2063152 Change-Id: I6abe986251d042ef70701b614b8cef0ee1e30044 Signed-off-by: Satish Kodishala <skodisha@codeaurora.org>
This commit is contained in:
parent
6f56b2a9c8
commit
a03b642ecd
1 changed files with 3 additions and 3 deletions
|
@ -88,12 +88,12 @@ int btfm_slim_chrk_enable_port(struct btfmslim *btfmslim, uint8_t port_num,
|
|||
|
||||
BTFMSLIM_DBG("port(%d) enable(%d)", port_num, enable);
|
||||
if (rxport) {
|
||||
if (enable && btfmslim->sample_rate == 48000) {
|
||||
/* For A2DP Rx */
|
||||
if (enable) {
|
||||
/* For SCO Rx, A2DP Rx */
|
||||
reg_val = 0x1;
|
||||
port_bit = port_num - 0x10;
|
||||
reg = CHRK_SB_PGD_RX_PORTn_MULTI_CHNL_0(port_bit);
|
||||
BTFMSLIM_DBG("writing reg_val (%d) to reg(%x) for A2DP",
|
||||
BTFMSLIM_DBG("writing reg_val (%d) to reg(%x)",
|
||||
reg_val, reg);
|
||||
ret = btfm_slim_write(btfmslim, reg, 1, ®_val, IFD);
|
||||
if (ret) {
|
||||
|
|
Loading…
Add table
Reference in a new issue