Uh oh!
There was an error while loading. Please reload this page.
Revert "Audio: Copier: Add missing DMIC DAI index mapping to create_dai()" - #6877
Conversation
juimonen
commented
Dec 21, 2022
I think the "fix" would be to extract the least significant 8 bits and use that as dai_index. The node_id can have other bits set in it from kernel side. |
serhiy-katsyuba-intel
commented
Dec 21, 2022
dai_index comes from node_id.f.v_index, it's 8 bit: |
juimonen
commented
Dec 21, 2022
yes correct. I'll make the corresponding kernel PR. |
64c7b12 to
5a6b896CompareThis reverts commit 8d166a4. This restores working DMIC functionality on Windows platform broken by thesofproject#6668. ATTENTION: This will break DMIC1 (DMIC with DAI index 1) functionality on Linux platform, DMIC0 should still work fine! Non working DMIC1 should be fixed on Linux driver side, not this firmware. Signed-off-by: Serhiy Katsyuba <serhiy.katsyuba@intel.com>
5a6b896 to
2792f0fComparelgirdwood
commented
Dec 21, 2022
@ujfalusi@plbossart fyi - how long has kernel had the wrong ID mapping ? |
abonislawski
left a comment
There was a problem hiding this comment.
For me we can go directly with this PR, abi should be used if something needs to be synced
Unfortunately there was no DMIC tests in mtl CI when 6668 merged
serhiy-katsyuba-intel
commented
Dec 21, 2022
Since March 2022. However, the problem affects only DMIC1. DMIC0 works fine with and without #6668. DMIC1 seems was not tested on Linux until recently. |
juimonen
commented
Dec 21, 2022
@lgirdwood no I don't think so. I made thesofproject/linux#4114, that should work with this revert. Should be tested however. |
ranj063
commented
Dec 21, 2022
@libinyang Could you please test with this revert and the linux PR from @juimonen. Thanks! |
lgirdwood
commented
Dec 22, 2022
ok, @libinyang pls let us know if this PR and the kernel PR work for you. |
lgirdwood
commented
Dec 23, 2022
@libinyang ping - good to merge ? @mengdonglin fyi. |
wszypelt
commented
Jan 3, 2023
@libinyang, @lgirdwood good to merge? |
lgirdwood
commented
Jan 4, 2023
@libinyang pls shout if there are any issues and we can address |
This reverts commit 8d166a4.
This restores working DMIC functionality on Windows platform broken by #6668.
ATTENTION: This will break DMIC1 (DMIC with DAI index 1) functionality on Linux platform, DMIC0 should still work fine! Non working DMIC1 should be fixed on Linux driver side, not this firmware.
Signed-off-by: Serhiy Katsyuba serhiy.katsyuba@intel.com