qdsp6: Allow audio_rx_path_id to be zero, fixes Bluetooth

1bc9c36dbb
This commit is contained in:
tytung 2011-12-04 01:44:35 +08:00
parent 2df099fb12
commit ab498e72d4

View File

@ -1624,7 +1624,6 @@ static int audio_update_acdb(uint32_t adev, uint32_t acdb_id)
static void adie_rx_path_enable(uint32_t acdb_id)
{
AUDIO_INFO("%s\n", __func__);
if (audio_rx_path_id) {
adie_enable();
adie_set_path(adie, audio_rx_path_id, ADIE_PATH_RX);
adie_set_path_freq_plan(adie, ADIE_PATH_RX, 48000);
@ -1633,7 +1632,6 @@ static void adie_rx_path_enable(uint32_t acdb_id)
ADIE_STAGE_DIGITAL_READY);
adie_proceed_to_stage(adie, ADIE_PATH_RX,
ADIE_STAGE_DIGITAL_ANALOG_READY);
}
}
static void q6_rx_path_enable(int reconf, uint32_t acdb_id)