soc/xtensa/intel_adsp/tools: Do not use grep Perl extensions

They may be disabled in some environments (such as Gentoo based
developer mode on Chromebooks). Use extended regular expressions
instead.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
This commit is contained in:
Ederson de Souza 2022-06-27 09:03:52 -07:00 committed by Maureen Helm
parent fa0dc683fd
commit 4fd8d474ec
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class HDAStream:
def map_regs():
p = runx(f"grep -iPl 'PCI_CLASS=40(10|38)0' /sys/bus/pci/devices/*/uevent")
p = runx(f"grep -iEl 'PCI_CLASS=40(10|38)0' /sys/bus/pci/devices/*/uevent")
pcidir = os.path.dirname(p)
# Platform/quirk detection. ID lists cribbed from the SOF kernel driver