Merge "btfm: Enable multichannel bit for SCO Rx"
This commit is contained in:
commit
ca79f2d777
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