Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib.sh: fix SOF card ID acquisition failure
The SOF card is renamed in linux kernel, our regular expression for old nameing style only works under SoundWire and HDAudio, not SOF. But SOF card information in /proc/asound/cards still contains 'sof-[a-z]' pattern. This patch updates the regular expression for acquiring SOF card ID. Fixes: #420 Signed-off-by: Amery Song <[email protected]>
- Loading branch information